Commit 1ae2b9f3 authored by Steven Fuller's avatar Steven Fuller

misc.c, misc.h: just changed itoa parameter from short to int

parent cb67569f
...@@ -80,7 +80,7 @@ char *strlwr(char *s) ...@@ -80,7 +80,7 @@ char *strlwr(char *s)
return s; return s;
} }
char *itoa(short int value, char *string, int radix) char *itoa(int value, char *string, int radix)
{ {
/* wolf3d only uses radix 10 */ /* wolf3d only uses radix 10 */
sprintf(string, "%d", value); sprintf(string, "%d", value);
......
...@@ -18,7 +18,7 @@ long filelength(int handle); ...@@ -18,7 +18,7 @@ long filelength(int handle);
#define strnicmp strncasecmp #define strnicmp strncasecmp
char *strlwr(char *s); char *strlwr(char *s);
char *itoa(short int value, char *string, int radix); char *itoa(int value, char *string, int radix);
char *ltoa(long value, char *string, int radix); char *ltoa(long value, char *string, int radix);
char *ultoa(unsigned long value, char *string, int radix); char *ultoa(unsigned long value, char *string, int radix);
......
...@@ -110,7 +110,6 @@ static void TransformActor(objtype *ob) ...@@ -110,7 +110,6 @@ static void TransformActor(objtype *ob)
ob->viewx = centerx + ny*scale/nx; ob->viewx = centerx + ny*scale/nx;
ob->viewheight = heightnumerator/(nx>>8); ob->viewheight = heightnumerator/(nx>>8);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment