Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Nov 1, 2024
1 parent ffbced2 commit dd05df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgrib2/unpk.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ int unpk_grib(unsigned char **sec, float *data) {
fatal_error("unpk: png decode allocation error", "");

//i = (int) dec_png_clone(sec[7]+5, &width, &height, (unsigned char *) c, &nbits, ndata);
i = (int) g2c_dec_png(unsigned char *) sec[7]+5, &width, &height, (unsigned char *) c);
i = (int) g2c_dec_png((unsigned char *) sec[7]+5, &width, &height, (unsigned char *) c);
if (i) fatal_error_i("unpk: png decode error %d",i);
mask_pointer = (bitmap_flag == 255) ? NULL : sec[6] + 6;

Expand Down

0 comments on commit dd05df3

Please sign in to comment.