]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/alloc_str.c
Table: Default format string for 64-bit numbers was wrong
[libucw.git] / ucw / alloc_str.c
index bcc49b089dfe4fe3ebf9d71fce8ff8245d5a1e60..90bc747036e1d6dd384a441b6c6c6b600e0fb28e 100644 (file)
@@ -16,6 +16,6 @@ xstrdup(const char *s)
 {
   if (!s)
     return NULL;
-  uns l = strlen(s) + 1;
+  uint l = strlen(s) + 1;
   return memcpy(xmalloc(l), s, l);
 }