summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2022-04-12 22:03:29 +0200
committerQuentin Carbonneaux2022-04-12 22:03:29 +0200
commitecb12db07e897ff866eb7de50be129ab74d11b4c (patch)
tree2e36955d579ea9188ed8fe0d28cc37aaac96b66b
parentae1b70b7f70c042eb4e89f6e6c1243209a60a558 (diff)
remove a couple old "unsigned"
-rw-r--r--sdar/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdar/util.c b/sdar/util.c
index bc011a1..5fc96da 100644
--- a/sdar/util.c
+++ b/sdar/util.c
@@ -27,7 +27,7 @@ logs(char *fmt, ...)
va_start(ap, fmt);
vsprintf(msg, fmt, ap);
va_end(ap);
- fprintf(flog, "[%u %s] %s\n", (unsigned)pid, date, msg);
+ fprintf(flog, "[%u %s] %s\n", (uint)pid, date, msg);
}
char *
@@ -38,7 +38,7 @@ hexs(uchar *d, int n)
assert(n <= 32);
for (p = buf; n-- > 0; p += 2, d++)
- sprintf(p, "%02x", (unsigned)*d);
+ sprintf(p, "%02x", (uint)*d);
return buf;
}