diff options
Diffstat (limited to 'agent/protect.c')
-rw-r--r-- | agent/protect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/protect.c b/agent/protect.c index 19f6ccbc6..2bb38f316 100644 --- a/agent/protect.c +++ b/agent/protect.c @@ -861,7 +861,7 @@ make_shadow_info (const char *serialno, const char *idstring) p = stpcpy (p, numbuf); for (s=serialno; *s && s[1]; s += 2) *(unsigned char *)p++ = xtoi_2 (s); - sprintf (numbuf, "%d:", strlen (idstring)); + sprintf (numbuf, "%u:", (unsigned int)strlen (idstring)); p = stpcpy (p, numbuf); p = stpcpy (p, idstring); *p++ = ')'; |