Wendal Chen 4 лет назад
Родитель
Сommit
0a067c20d2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      luat/vfs/luat_fs_luadb.c

+ 1 - 1
luat/vfs/luat_fs_luadb.c

@@ -558,7 +558,7 @@ int luat_luadb_checkfile(const char* path) {
                 }
                 index += len;
                 uint8_t md5data[16];
-                luat_crypto_md5_simple(binbuff, index, md5data);
+                luat_crypto_md5_simple((const char*)binbuff, index, md5data);
                 for (size_t i = 0; i < 16; i++){
                     if (md5data[i]!=binbuff[index++]){
                         LLOGD("md5data error");