mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-14 08:29:34 +00:00
Fix compile error with Clang
This commit is contained in:
parent
56c5bd0a29
commit
e7e7ada476
|
@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
unsigned char csbits[2][256][8];
|
unsigned char csbits[2][256][8];
|
||||||
|
|
||||||
static char *csstrs[] = {
|
static const char *csstrs[] = {
|
||||||
" ### "," # "," #### "," ### "," #### "," ##### "," ##### "," #### ",
|
" ### "," # "," #### "," ### "," #### "," ##### "," ##### "," #### ",
|
||||||
" # # "," # # "," # # "," # # "," # # "," # "," # "," # ",
|
" # # "," # # "," # # "," # # "," # # "," # "," # "," # ",
|
||||||
" # # # "," # # "," # # "," # "," # # "," # "," # "," # ",
|
" # # # "," # # "," # # "," # "," # # "," # "," # "," # ",
|
||||||
|
@ -167,7 +167,7 @@ void make_csbits (void) {
|
||||||
int si = ((i / STRINGS_PER_CHAR) * STRINGS_PER_CHAR_ROW) + (i % CHARS_PER_ROW);
|
int si = ((i / STRINGS_PER_CHAR) * STRINGS_PER_CHAR_ROW) + (i % CHARS_PER_ROW);
|
||||||
for (j = 0; j < STRINGS_PER_CHAR; ++j)
|
for (j = 0; j < STRINGS_PER_CHAR; ++j)
|
||||||
{
|
{
|
||||||
char *sp = csstrs[si];
|
const char *sp = csstrs[si];
|
||||||
unsigned char cb = 0;
|
unsigned char cb = 0;
|
||||||
|
|
||||||
si += CHARS_PER_ROW;
|
si += CHARS_PER_ROW;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user