aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/salticidae/type.h')
-rw-r--r--include/salticidae/type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/type.h b/include/salticidae/type.h
index 0bc2ae0..c62272d 100644
--- a/include/salticidae/type.h
+++ b/include/salticidae/type.h
@@ -106,7 +106,7 @@ typedef struct bytearray_t bytearray_t;
#endif
#ifdef SALTICIDAE_CBINDINGS_STR_OP
-typedef char * _opcode_t;
+typedef const char * _opcode_t;
#else
typedef uint8_t _opcode_t;
#endif