OSDN Git Service

use const
[jnethack/source.git] / src / objnam.c
index 3408e95..689fcdc 100644 (file)
@@ -680,7 +680,7 @@ unsigned cxn_flags; /* bitmask of CXN_xxx values */
             Strcat(buf, " called ");
             Strcat(buf, un);
 #else
-            char *p;
+            const char *p;
             if (is_boots(obj))
                 p = "\8cC";
             else if (is_gloves(obj))