diff options
author | chai <chaifix@163.com> | 2018-08-21 21:06:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-21 21:06:04 +0800 |
commit | ddef39a3154d214fa1bb7f154c1c6610714c8ea6 (patch) | |
tree | 267ae59ca84de7dd04fb37a74d88489acd42a839 /src/libjin/Audio/Source.cpp | |
parent | f50040e4752e1097fac793bb82569c63a6c09ee9 (diff) |
*update
Diffstat (limited to 'src/libjin/Audio/Source.cpp')
-rw-r--r-- | src/libjin/Audio/Source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin/Audio/Source.cpp b/src/libjin/Audio/Source.cpp index ceb882d..61f4055 100644 --- a/src/libjin/Audio/Source.cpp +++ b/src/libjin/Audio/Source.cpp @@ -9,7 +9,7 @@ namespace jin namespace audio { - static int check_header(const void *data, int size, char *str, int offset) { + static int check_header(const void *data, int size, const char *str, int offset) { int len = strlen(str); return (size >= offset + len) && !memcmp((char*)data + offset, str, len); } |