Skip to content

Commit

Permalink
Fix undefined operations in atom code (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored Feb 23, 2024
1 parent e37ee34 commit 37766bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdf/src/atom.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ EXPORTED ROUTINES

/* Combine a Group number and an atom index into an atom */
#define MAKE_ATOM(g, i) \
((((atom_t)(g)&GROUP_MASK) << ((sizeof(atom_t) * 8) - GROUP_BITS)) | ((atom_t)(i)&ATOM_MASK))
(atom_t)((((uint32)(g)&GROUP_MASK) << ((sizeof(atom_t) * 8) - GROUP_BITS)) | ((uint32)(i)&ATOM_MASK))

/* Atom information structure used */
typedef struct atom_info_struct_tag {
Expand Down

0 comments on commit 37766bb

Please sign in to comment.