Skip to content

Commit

Permalink
Merge pull request Unidata#2850 from opoplawski/types
Browse files Browse the repository at this point in the history
Fix some variable types.  Resolves Unidata#2849
  • Loading branch information
WardF authored Jan 30, 2024
2 parents 41166da + 07134b9 commit abc626c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libhdf4/hdf4file.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ hdf4_read_var(NC_FILE_INFO_T *h5, int v)
int32 sdsid;
int contiguous;
int d, a;
int flag;
int32 flag;
char name[NC_MAX_HDF4_NAME+1];
int xtype;
char type_name[NC_MAX_NAME + 1];
Expand Down
2 changes: 1 addition & 1 deletion ncgen/ncgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ typedef struct Typeinfo {
int hasvlen; /* 1 => this type contains a vlen*/
nc_type typecode;
unsigned long offset; /* fields in struct*/
unsigned long alignment;/* fields in struct*/
size_t alignment;/* fields in struct*/
NCConstant* econst; /* for enum values*/
Dimset dimset; /* for NC_VAR/NC_FIELD/NC_ATT*/
size_t size; /* for opaque, compound, etc.*/
Expand Down

0 comments on commit abc626c

Please sign in to comment.