-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Milestone
Description
Code in question is bufr_dataset.c:1778,
case TYPE_CHNG_REF_VAL_OP :
ival = bufr_value_get_int32( bd->value );
if (isdebug)
{
sprintf( errmsg, _("INT: %llu "), (unsigned long long)ival );
bufr_print_debug( errmsg );
}
if (ival < 0)
{
ival = bufr_negative_ivalue( ival, bd->encoding.nbits );
ival is uint64_t, which makes the "if (ival < 0)" test a NOP. Not entirely sure what was intended here so I added a FIXME comment and left it alone.
Imported from Launchpad using lp2gh.
- date created: 2011-11-22T15:34:14Z
- owner: chris-beauregard
- assignee: vanh-souvanlasy
- the launchpad url was https://bugs.launchpad.net/bugs/893640