Revert "using a different MACRO"

This reverts commit fc61b7a9f3.
This commit is contained in:
kmu
2019-11-26 17:23:34 -06:00
parent fc61b7a9f3
commit 4c8a2f726a
35 changed files with 98 additions and 103 deletions

View File

@@ -70,7 +70,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts,
/* Subtract the original value with MULTIPLIER */
while(buf_left > 0) {
char temp = *int_ptr;
H5_CHECKED_ASSIGN(*int_ptr, char, temp - MULTIPLIER, int);
ASSIGN_TO_SMALLER_SIZE(*int_ptr, char, temp - MULTIPLIER, int);
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */
@@ -79,7 +79,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts,
/* Add the original value with MULTIPLIER */
while(buf_left > 0) {
char temp = *int_ptr;
H5_CHECKED_ASSIGN(*int_ptr, char, temp + MULTIPLIER, int);
ASSIGN_TO_SMALLER_SIZE(*int_ptr, char, temp + MULTIPLIER, int);
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */