mirror of
https://github.com/webui-dev/webui.git
synced 2024-08-16 17:30:25 +03:00
Fix GCC Warning
This commit is contained in:
parent
633a96c54b
commit
3f683ea036
@ -44,7 +44,7 @@ bool virtual_file_system(const char* path, const unsigned char** file, int* leng
|
||||
return false;
|
||||
}
|
||||
|
||||
void* vfs(const char* path, int* length) {
|
||||
const void* vfs(const char* path, int* length) {
|
||||
const unsigned char* file_data;
|
||||
int file_length;
|
||||
|
||||
|
@ -63,7 +63,7 @@ def generate_vfs_header(directory, output_header):
|
||||
header.write(' return false;\n')
|
||||
header.write('}\n\n')
|
||||
|
||||
header.write('void* vfs(const char* path, int* length) {\n')
|
||||
header.write('const void* vfs(const char* path, int* length) {\n')
|
||||
header.write(' const unsigned char* file_data;\n')
|
||||
header.write(' int file_length;\n\n')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user