aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Birks <admin@daftgames.net>2014-06-06 13:13:40 +0100
committerCharlie Birks <admin@daftgames.net>2014-06-06 13:13:40 +0100
commita6860c18cf3a3525692a0dd2bee0b94e604189e3 (patch)
tree07001000a2b856f7b448701a7b17a8f647f78194
parentc8706d012d9c64881f5b417bfbe36b2cf2def2ca (diff)
path should be const
-rw-r--r--system/include/emscripten/emscripten.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h
index 195c538d..b495c0f5 100644
--- a/system/include/emscripten/emscripten.h
+++ b/system/include/emscripten/emscripten.h
@@ -524,7 +524,7 @@ void emscripten_debugger();
* width/height of image are written to w/h if data is valid.
* Pointer should be free()'d
*/
-char *emscripten_get_preloaded_image_data(char *path, int *w, int *h);
+char *emscripten_get_preloaded_image_data(const char *path, int *w, int *h);
/*
* Get preloaded image data from a c FILE *.