]> 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 a9543c5b96d459c86aefa489502f0e5683244ee0..90bc747036e1d6dd384a441b6c6c6b600e0fb28e 100644 (file)
@@ -7,7 +7,7 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
+#include <ucw/lib.h>
 
 #include <string.h>
 
@@ -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);
 }