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:
parent
91f6f50934
commit
884afc8873
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user