Fix GCC warnings
This commit is contained in:
parent
00b6286bba
commit
e36aab7783
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user