Skip to content
Snippets Groups Projects
Commit 1e341998 authored by rswindell's avatar rswindell
Browse files

Fix the bug introduced into this copy/pasted version of ultoac

(unsigned-long to ASCII with commas) in rev 1.68 (addressing warnings).
A size_t (i) can't go negative. Duh.
parent 909f0ced
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@
char *ultoac(ulong l, char *string)
{
char str[256];
size_t i,j,k;
int i,j,k;
SAFEPRINTF(str,"%lu",l);
i=strlen(str)-1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment