Open GoogleCodeExporter opened 9 years ago
I think it's clearer to use SIZE_MAX. Since this is a recent addition to std C,
we need to provide it if it isn't
already defined. So, put this after the #includes:
#ifndef SIZE_MAX
#define SIZE_MAX ((size_t)-1)
#endif
then the patch becomes:
- total_failed = -1;
+ total_failed = SIZE_MAX;
Original comment by Stephen....@gmail.com
on 16 Feb 2010 at 7:05
Please feel free to commit this fix to the staging.
Original comment by ade...@gmail.com
on 16 Feb 2010 at 9:52
Original issue reported on code.google.com by
ade...@gmail.com
on 21 Jul 2009 at 10:13