summary refs log tree commit diff stats
path: root/src/fe-gtk/palette.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2015-03-19 16:30:03 -0400
committerTingPing <tingping@tingping.se>2015-03-19 16:30:03 -0400
commitdc69f24ae513c6807b502cbc5a264a8c829e9d10 (patch)
treee3003b9966ce9e1b952d4b03f3d62b923bb8bdb9 /src/fe-gtk/palette.c
parentb4906f3d230c22c807cdb00b72de0d60491bba76 (diff)
Use correct type for colors
Diffstat (limited to 'src/fe-gtk/palette.c')
-rw-r--r--src/fe-gtk/palette.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/palette.c b/src/fe-gtk/palette.c
index a0f8b9eb..17689756 100644
--- a/src/fe-gtk/palette.c
+++ b/src/fe-gtk/palette.c
@@ -110,7 +110,7 @@ palette_load (void)
 	char prefname[256];
 	struct stat st;
 	char *cfg;
-	int red, green, blue;
+	guint16 red, green, blue;
 
 	fh = hexchat_open_file ("colors.conf", O_RDONLY, 0, 0);
 	if (fh != -1)