diff options
Diffstat (limited to 'libaf/format.c')
-rw-r--r-- | libaf/format.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libaf/format.c b/libaf/format.c index 53078d39b7..84b81b5da8 100644 --- a/libaf/format.c +++ b/libaf/format.c @@ -19,7 +19,7 @@ #include "help_mp.h" // Convert from string to format -int af_str2fmt(char* str) +int af_str2fmt(const char* str) { int format=0; // Scan for endianess @@ -178,7 +178,7 @@ static struct { { NULL, 0 } }; -char *af_fmt2str_short(int format) +const char *af_fmt2str_short(int format) { int i; @@ -189,7 +189,7 @@ char *af_fmt2str_short(int format) return "??"; } -int af_str2fmt_short(char* str) +int af_str2fmt_short(const char* str) { int i; |