From 9d33f00098e6d5ed6087dd7ca7451e5182845d63 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Mon, 9 Apr 2012 19:12:17 +0000 Subject: Fix 'overflow in implicit constant conversion', make it const. svn path=/trunk/; revision=41998 --- ui/gtk/wlan_stat_dlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/wlan_stat_dlg.c') diff --git a/ui/gtk/wlan_stat_dlg.c b/ui/gtk/wlan_stat_dlg.c index f328e6dd45..4b9c59d410 100644 --- a/ui/gtk/wlan_stat_dlg.c +++ b/ui/gtk/wlan_stat_dlg.c @@ -1962,7 +1962,7 @@ wlanstat_launch (GtkAction *action _U_, gpointer user_data _U_) void register_tap_listener_wlanstat (void) { - static const char src[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; + static const unsigned char src[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; SET_ADDRESS(&broadcast, AT_ETHER, 6, src); } -- cgit v1.2.1