[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GN_RINGTONE_MAX_NOTES warning: comparison is always false due to limited
From: |
Daniele Forsi |
Subject: |
GN_RINGTONE_MAX_NOTES warning: comparison is always false due to limited range of data type |
Date: |
Sat, 18 Mar 2006 15:38:59 +0100 |
User-agent: |
Mozilla Thunderbird 1.5 (X11/20051201) |
There are problems with defining GN_RINGTONE_MAX_NOTES as 1024
because notes_count is declared unsigned char in
./include/gnokii/ringtones.h
readmidi.c: In function `addnote':
readmidi.c:1052: warning: comparison is always false due to limited
range of data type
gsm-ringtones.c: In function `gn_ringtone_unpack':
gsm-ringtones.c:562: warning: comparison is always false due to limited
range of data type
xgnokii_xring.c: In function `tone_start':
xgnokii_xring.c:371: warning: comparison is always false due to limited
range of data type
--
Daniele
- GN_RINGTONE_MAX_NOTES warning: comparison is always false due to limited range of data type,
Daniele Forsi <=