blob: 8266340dd07a2486abf3469fd146edb751f77012 [file] [log] [blame] [edit]
--- a/buffers.c
+++ b/buffers.c
@@ -79,7 +79,7 @@
return (FALSE);
}
- if(S_OK != ULongMult(sizeof(REPORT_BUFFER), nBuffers, &reportBuffersSize))
+ if(__builtin_mul_overflow(sizeof(REPORT_BUFFER), nBuffers, &reportBuffersSize))
{
free(pNewDisplay);
return (FALSE);