X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Falloc_str.c;h=90bc747036e1d6dd384a441b6c6c6b600e0fb28e;hb=0eb6d8317cdbdb28663ff779d31684b3c7a47274;hp=bcc49b089dfe4fe3ebf9d71fce8ff8245d5a1e60;hpb=fa7aa6d9457616ce28f97c83eaa616d0ff276870;p=libucw.git diff --git a/ucw/alloc_str.c b/ucw/alloc_str.c index bcc49b08..90bc7470 100644 --- a/ucw/alloc_str.c +++ b/ucw/alloc_str.c @@ -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); }