On Wed, Nov 08, 2006 at 04:48:58PM -0800, Stephen Fisher wrote:

> One way that you can fix the warning is by manually assigning numbers 
> to the enumerated values in gtkvumeter.h:

A cleaner fix would be to just reverse the parameter order:

CLAMP (scaling, GTK_VUMETER_SCALING_LINEAR, GTK_VUMETER_SCALING_LOG);

becomes..

CLAMP (scaling, GTK_VUMETER_SCALING_LOG, GTK_VUMETER_SCALING_LINEAR);

And the same for the other warning.


Steve

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to