diff options
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h')
-rw-r--r-- | Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h b/Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h index 1e2c67f8d9a..570f7cb0ee7 100644 --- a/Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h +++ b/Build/source/libs/cairo/cairo-src/src/cairo-malloc-private.h @@ -60,7 +60,7 @@ **/ #define _cairo_malloc(size) \ - ((size) ? malloc((unsigned) (size)) : NULL) + ((size) > 0 ? malloc((unsigned) (size)) : NULL) /** * _cairo_malloc_ab: |