diff --git a/tools/qfcc/source/defspace.c b/tools/qfcc/source/defspace.c index 5bae41bff..a704b45a3 100644 --- a/tools/qfcc/source/defspace.c +++ b/tools/qfcc/source/defspace.c @@ -277,7 +277,7 @@ defspace_alloc_highwater (defspace_t *space, int size) int defspace_alloc_aligned_highwater (defspace_t *space, int size, int alignment) { - if (size <= 0) + if (size < 0) internal_error (0, "invalid number of words requested: %d", size); if (alignment <= 0) internal_error (0, "invalid alignment requested: %d", alignment);