[PATCH]: fix compile warnings in wpa_gui

Jouni Malinen j at w1.fi
Wed Dec 26 13:17:46 EST 2007


On Wed, Dec 26, 2007 at 09:42:18PM +1000, Kel Modderman wrote:
> The following warnings can be observed while compiling wpa_gui:
> .ui/../networkconfig.ui.h:137: warning: deprecated conversion from string constant to 'char*'

> The attached patch fixes them. I'm pretty sure none of the strings marked as
> constants by this patch are expected to be modifiable by other functions.

I don't see these with g++ 4.1.2, but anyway, the change itself looks
fine. I applied it to both wpa_gui and wpa_gui-qt4.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list