Fix GCC warnings

This commit is contained in:
Stas Degteff 2005-11-03 11:58:16 +00:00
parent 00b6286bba
commit e36aab7783
2 changed files with 3 additions and 3 deletions

View File

@ -315,9 +315,9 @@ void CfgLatintolocal()
char *ptr = val, chr; char *ptr = val, chr;
for (chr = 'A'; chr <= 'Z'; chr++, ptr++) for (chr = 'A'; chr <= 'Z'; chr++, ptr++)
CFG->latintolocal[chr] = *ptr; CFG->latintolocal[int(chr)] = *ptr;
for (chr = 'a'; chr <= 'z'; chr++, ptr++) for (chr = 'a'; chr <= 'z'; chr++, ptr++)
CFG->latintolocal[chr] = *ptr; CFG->latintolocal[int(chr)] = *ptr;
} }
// ------------------------------------------------------------------ // ------------------------------------------------------------------

View File

@ -2048,7 +2048,7 @@ void IEclass::ToggleCaseChar(gkey key,
Line *ln, int n) Line *ln, int n)
{ {
int oldchar = *it; int oldchar = *it;
int newchar; int newchar = 0;
switch (key) switch (key)
{ {