aboutsummaryrefslogtreecommitdiff
path: root/libgui/bmp.c
diff options
context:
space:
mode:
authorMarvin Borner2020-11-05 17:30:39 +0100
committerMarvin Borner2020-11-05 17:32:53 +0100
commit63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch)
tree31e2d583be3ebf34782f6ec37f6c524657c40686 /libgui/bmp.c
parent916fca2161e76de67a5106b90baf00a57f2a0512 (diff)
Added warning flags and fixed them :)
Diffstat (limited to 'libgui/bmp.c')
-rw-r--r--libgui/bmp.c2
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)