diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-03-18 12:41:06 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-03-18 12:41:06 +0100 |
commit | 99430f1cf36c07350cdc557dbbb5c0a34c9b9dd0 (patch) | |
tree | bfa5c2d4fb599e27ed2750711b6a68c01bead7d7 | |
parent | 876657e613de6d9dd906c95e05fc590a84d1c322 (diff) |
Shut up the compiler.
-rw-r--r-- | util/stormdwg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/stormdwg.c b/util/stormdwg.c index 8f04e0e..99f76cc 100644 --- a/util/stormdwg.c +++ b/util/stormdwg.c @@ -7,7 +7,7 @@ #include <stdio.h> #include <stdlib.h> -char *opcodes[] = { +const char *opcodes[] = { "line_open", /* 0000 */ "autoline_open", /* 0001 */ "line_close", /* 0010 */ @@ -29,7 +29,7 @@ char *opcodes[] = { "iload filter" /* 1111 */ }; -char *atype[] = { +const char *atype[] = { "rpl - Write (Replace)", /* 000 */ "rstr - read-modify-write (raster)", /* 001 */ "reserved", /* 010 */ @@ -40,7 +40,7 @@ char *atype[] = { "I - Gouraud (with depth compare)" /* 111 */ }; -char *zmode[] = { +const char *zmode[] = { "NOZCMP - always", /* 000 */ "reserved", /* 001 */ "ZE - depth =", /* 010 */ @@ -51,7 +51,7 @@ char *zmode[] = { "zgte" /* 111 */ }; -char *bop[] = { +const char *bop[] = { "0", /* 0000 */ "~(D|S)", /* 0001 */ "D & ~S", /* 0010 */ @@ -73,7 +73,7 @@ char *bop[] = { "1" /* 1111 */ }; -char *bitmod[] = { +const char *bitmod[] = { "BMONOLEF - Source is mono, or if iload, source is little endian", /* 0000 */ "BPLAN - source is mono from one plane", /* 0001 */ "BFCOL - source is colour, and is formatted from host", /* 0010 */ |