summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:02:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-08-26 11:02:52 +0200
commitb54460a097fdcc1c86ddc42fe1588470fbeff866 (patch)
treeabb2d1dc467953aa47281a55af24df76161f0e0f /server
parent1b9a0d787e30973c235058b22b2c202c9cdf765a (diff)
Fix type confusion.HEADmaster
Diffstat (limited to 'server')
-rw-r--r--server/src/admin_rc.cc4
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;