summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
commitdf39054c869d26b1aeeaca958b54869521802712 (patch)
treef9ace3a7fc35498f101ec41da1d83edf47ccbd06 /src/misc.c
parentc3ba808aef8fcf59b04eb959e9958159648eae8a (diff)
downloadxorg-lib-libXpm-CYGWIN.tar.gz
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
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);