commit | abded301c4b0461c4bb8c31615c170608ca03478 | [log] [tgz] |
---|---|---|
author | McLovi9 <max.ehicks@yahoo.com> | Fri Aug 12 22:58:16 2016 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 12 22:58:16 2016 +0200 |
tree | 4aaf87114d3dbcc05a88f79285ece8af68766629 | |
parent | bf2690afca7aa4318eb5b00f3b0d59701f4c6ea3 [diff] |
Update capstone.h VS2015: error: C2440: 'initializing': cannot convert from 'const char [4]' to 'char *'
diff --git a/include/capstone/capstone.h b/include/capstone/capstone.h index 11eb8b4..4899971 100644 --- a/include/capstone/capstone.h +++ b/include/capstone/capstone.h
@@ -141,7 +141,7 @@ // ID of instruction to be customized. unsigned int id; // Customized instruction mnemonic. - char *mnemonic; + const char *mnemonic; } cs_opt_mnem; // Runtime option for the disassembled engine