diff options
Diffstat (limited to 'src/Attrib.c')
-rw-r--r-- | src/Attrib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Attrib.c b/src/Attrib.c index cb304df..1b38047 100644 --- a/src/Attrib.c +++ b/src/Attrib.c @@ -57,7 +57,7 @@ CreateOldColorTable( XpmColor **colorTable, **color; unsigned int a; - if (ncolors >= UINT_MAX / sizeof(XpmColor *)) + if (ncolors >= UINT_MAX / sizeof(XpmColor *)) return XpmNoMemory; colorTable = (XpmColor **) XpmMalloc(ncolors * sizeof(XpmColor *)); |