X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=conproc.c;h=ccbb849c9c2a44c0183521a988af2dc80b86bc2e;hp=dd21407d79ba65e603b6edf656563ab608db8ca2;hb=6c526650ca4c8150e53214dab39104f2065765cf;hpb=d1a66b1504773e5da10463fd15d524697b0c2ba2 diff --git a/conproc.c b/conproc.c index dd21407d..ccbb849c 100644 --- a/conproc.c +++ b/conproc.c @@ -39,7 +39,7 @@ BOOL GetScreenBufferLines (int *piLines); BOOL SetScreenBufferLines (int iLines); BOOL ReadText (LPTSTR pszText, int iBeginLine, int iEndLine); BOOL WriteText (LPCTSTR szText); -int CharToCode (char c); +int CharToCode (int c); BOOL SetConsoleCXCY(HANDLE hStdout, int cx, int cy); @@ -262,7 +262,7 @@ BOOL WriteText (LPCTSTR szText) } -int CharToCode (char c) +int CharToCode (int c) { char upper;