Improve fuzzing coverage

This commit is contained in:
Alex Hultman
2020-08-06 17:07:19 +02:00
parent d5b5e8d8da
commit 1fdcfa559e
3 changed files with 8 additions and 29 deletions
-17
View File
@@ -43,23 +43,6 @@ inline int u32toaHex(uint32_t value, char *dst) {
return ret;
}
inline int u32toa(uint32_t value, char *dst) {
char temp[10];
char *p = temp;
do {
*p++ = (char) ((value % 10) + '0');
value /= 10;
} while (value > 0);
int ret = (int) (p - temp);
do {
*dst++ = *--p;
} while (p != temp);
return ret;
}
inline int u64toa(uint64_t value, char *dst) {
char temp[20];
char *p = temp;