From 50986a34f231fbc7a4b62466bd89bd4ae4027d2e Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Thu, 25 Nov 2004 21:19:11 +0000 Subject: Fixes for CAN-2004-0914 (Thomas Biege). --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index 7a9ecb5..ce80d54 100644 --- a/src/misc.c +++ b/src/misc.c @@ -44,7 +44,7 @@ xpmstrdup(s1) char *s1; { char *s2; - int l = strlen(s1) + 1; + size_t l = strlen(s1) + 1; if (s2 = (char *) XpmMalloc(l)) strcpy(s2, s1); -- cgit v1.2.3