summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/stormdwg.c10
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 */