X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Falloc_str.c;h=90bc747036e1d6dd384a441b6c6c6b600e0fb28e;hb=0eb6d8317cdbdb28663ff779d31684b3c7a47274;hp=a9543c5b96d459c86aefa489502f0e5683244ee0;hpb=a50ec82cb8c6fe468b8e819c0426f5c8b5268f78;p=libucw.git diff --git a/ucw/alloc_str.c b/ucw/alloc_str.c index a9543c5b..90bc7470 100644 --- a/ucw/alloc_str.c +++ b/ucw/alloc_str.c @@ -7,7 +7,7 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" +#include #include @@ -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); }