Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Warnings in airpcap_dlg.c

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Wed, 13 May 2009 12:37:58 +0200
Hi.

We have some warnings in airpcap_dlg.c where we check an unsigned
variable against a define with value zero.
Any ideas how we should fix this?  Removing the check is not what I wanted.

The code is like this:

#define WPA_SSID_MIN_CHAR_SIZE 0
GString *new_ssid_string;

if (((new_ssid_string->len) < WPA_SSID_MIN_CHAR_SIZE))


-- 
Stig Bjørlykke