diff options
author | Marvin Borner | 2020-11-05 17:30:39 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-05 17:32:53 +0100 |
commit | 63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch) | |
tree | 31e2d583be3ebf34782f6ec37f6c524657c40686 /libgui/bmp.c | |
parent | 916fca2161e76de67a5106b90baf00a57f2a0512 (diff) |
Added warning flags and fixed them :)
Diffstat (limited to 'libgui/bmp.c')
-rw-r--r-- | libgui/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgui/bmp.c b/libgui/bmp.c index 0b08aeb..25745a7 100644 --- a/libgui/bmp.c +++ b/libgui/bmp.c @@ -6,7 +6,7 @@ #include <print.h> #include <sys.h> -struct bmp *bmp_load(char *path) +struct bmp *bmp_load(const char *path) { void *buf = read(path); if (!buf) |