You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:200:13: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
200 | itemp = abs(ipdtmpl[iutpos + 1]) * iunit;
| ^
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:200:13: note: use function 'llabs' instead
200 | itemp = abs(ipdtmpl[iutpos + 1]) * iunit;
| ^~~
| llabs
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:220:18: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
220 | itemp2 = abs(ipdtmpl[iutpos2]) * iunit2;
| ^
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:220:18: note: use function 'llabs' instead
220 | itemp2 = abs(ipdtmpl[iutpos2]) * iunit2;
| ^~~
| llabs
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:660:59: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
660 | fprintf(f, " GRIB MESSAGE %ld starts at %ld\n", msg->msg_num + 1, msg->bytes_to_msg + 1);
| ~~~ ^~~~~~~~~~~~~~~~
| %zu
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:660:77: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
660 | fprintf(f, " GRIB MESSAGE %ld starts at %ld\n", msg->msg_num + 1, msg->bytes_to_msg + 1);
| ~~~ ^~~~~~~~~~~~~~~~~~~~~
| %zu
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:662:65: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:200:13: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
200 | itemp = abs(ipdtmpl[iutpos + 1]) * iunit;
| ^
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:200:13: note: use function 'llabs' instead
200 | itemp = abs(ipdtmpl[iutpos + 1]) * iunit;
| ^~~
| llabs
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:220:18: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
220 | itemp2 = abs(ipdtmpl[iutpos2]) * iunit2;
| ^
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:220:18: note: use function 'llabs' instead
220 | itemp2 = abs(ipdtmpl[iutpos2]) * iunit2;
| ^~~
| llabs
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:660:59: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
660 | fprintf(f, " GRIB MESSAGE %ld starts at %ld\n", msg->msg_num + 1, msg->bytes_to_msg + 1);
| ~~~ ^~~~~~~~~~~~~~~~
| %zu
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:660:77: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
660 | fprintf(f, " GRIB MESSAGE %ld starts at %ld\n", msg->msg_num + 1, msg->bytes_to_msg + 1);
| ~~~ ^~~~~~~~~~~~~~~~~~~~~
| %zu
D:/a/NCEPLIBS-g2c/NCEPLIBS-g2c/g2c/src/g2cdegrib2.c:662:65: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
662 | fprintf(f, " SECTION 0: %d 2 %ld\n", msg->discipline, msg->bytes_in_msg);
The text was updated successfully, but these errors were encountered: