summaryrefslogtreecommitdiff
path: root/src/win95/io.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2003-05-22 01:55:16 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit638b22362e1d8dbda5313af6377cb6d0bd70795f (patch)
tree6707528c5e521e9a47093c6734b8b08cddf28c68 /src/win95/io.c
parentedfaaf9b962c98c475a1f5896c7c95081ca67ad1 (diff)
changed incorrect (int)char casts to (unsigned char)char casts.
Diffstat (limited to 'src/win95/io.c')
-rw-r--r--src/win95/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win95/io.c b/src/win95/io.c
index 1e5c2fa..67a3bfc 100644
--- a/src/win95/io.c
+++ b/src/win95/io.c
@@ -1151,7 +1151,7 @@ static int DHM_MoveBufferToQueue(int* pPosX,int* pPosY,int fZeroLeftMargin)
/* It is a standard character or a space */
DHM_AddToQueue(*pPosX,(*pPosY)+textprint_Y_offset, *pCh);
- (*pPosX)+=AAFontWidths[(int)*pCh];//CharWidthInPixels(*pCh);
+ (*pPosX)+=AAFontWidths[(unsigned char)*pCh];//CharWidthInPixels(*pCh);
if ((*pPosX)>LastDisplayableXForChars())
{