diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/admin_rc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/admin_rc.cc b/server/src/admin_rc.cc index bf790ae..47fb7ad 100644 --- a/server/src/admin_rc.cc +++ b/server/src/admin_rc.cc @@ -28,7 +28,7 @@ #include "admin_rc.h" static int faviconsize = 4287; -static const char favicon[] = { +static const unsigned char favicon[] = { 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x20, 0x20, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0xa8, 0x10, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x01, 0x00, @@ -420,7 +420,7 @@ static const char footer[] = std::string admin_rc(std::string key) { std::string val; - if(key == "favicon") val.append(favicon, faviconsize); + if(key == "favicon") val.append((const char*)favicon, faviconsize); if(key == "header1") val = header1; if(key == "header2") val = header2; if(key == "footer") val = footer; |