diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2017-12-12 16:36:56 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2017-12-12 18:52:41 +0900 |
| commit | bceb6640fa4992fc51567fb431cc60dbf1f864f8 (patch) | |
| tree | f636b8fa7cabb43701de613c30d4f20e4d679df9 /include/mruby.h | |
| parent | 977f79478fbadd9ed6d55c8bd7a6fc1deb5c78fc (diff) | |
| download | mruby-bceb6640fa4992fc51567fb431cc60dbf1f864f8.tar.gz mruby-bceb6640fa4992fc51567fb431cc60dbf1f864f8.zip | |
fix compilation error
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h index fc9656fbe..5d51b2375 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -999,8 +999,8 @@ char* mrb_locale_from_utf8(const char *p, int len); #define mrb_locale_free(p) free(p) #define mrb_utf8_free(p) free(p) #else -#define mrb_utf8_from_locale(p, l) (p) -#define mrb_locale_from_utf8(p, l) (p) +#define mrb_utf8_from_locale(p, l) ((char*)p) +#define mrb_locale_from_utf8(p, l) ((char*)p) #define mrb_locale_free(p) #define mrb_utf8_free(p) #endif |
