add an assert in case the sizeof int ever becomes bigger.. Then we will

have issues, at least we'll know where one of them are..

Submitted by:	Erich Dollansky
This commit is contained in:
jmg 2015-02-11 07:44:53 +00:00
parent 91f6f50934
commit 884afc8873

View File

@ -58,6 +58,7 @@ char *str;
* ever convert will be 2^32-1, which is 10
* digits.
*/
_Static_assert(sizeof(int) <= 4, "buffer too small for this sized int");
char *itoa(val)