ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Warnings in gtkvumeter.c

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 08 Nov 2006 23:07:15 +0100
Hmmm, I don't understand both.

Joerg Mayer wrote:
gtkvumeter.c:946: warning: comparison of unsigned expression < 0 is
always false
CLAMP is called with three variables of type GtkVUMeterScaling
gtkvumeter.c:1144: warning: comparison of unsigned expression < 0 is
always false
CLAMP is called with three variables of type GtkVUMeterPeakFalloff


Both types are "typedef enum" so I don't understand these warnings.

Any ideas?

Regards, ULFL