diff --git a/golded3/gccfgg5.cpp b/golded3/gccfgg5.cpp index 5b612b4..361e906 100644 --- a/golded3/gccfgg5.cpp +++ b/golded3/gccfgg5.cpp @@ -315,9 +315,9 @@ void CfgLatintolocal() char *ptr = val, chr; for (chr = 'A'; chr <= 'Z'; chr++, ptr++) - CFG->latintolocal[chr] = *ptr; + CFG->latintolocal[int(chr)] = *ptr; for (chr = 'a'; chr <= 'z'; chr++, ptr++) - CFG->latintolocal[chr] = *ptr; + CFG->latintolocal[int(chr)] = *ptr; } // ------------------------------------------------------------------ diff --git a/golded3/geedit.cpp b/golded3/geedit.cpp index 448601d..972c244 100644 --- a/golded3/geedit.cpp +++ b/golded3/geedit.cpp @@ -2048,7 +2048,7 @@ void IEclass::ToggleCaseChar(gkey key, Line *ln, int n) { int oldchar = *it; - int newchar; + int newchar = 0; switch (key) {