mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Changed casts to const void *
This commit is contained in:
parent
eeb1802055
commit
796cc17f41
@ -86,11 +86,11 @@
|
||||
#define CHECK_PTR_EQ(ret, val, where) { \
|
||||
if (VERBOSE_HI) { \
|
||||
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", \
|
||||
(where), (int)__LINE__, __FILE__, (ret)); \
|
||||
(where), (int)__LINE__, __FILE__, (const void *)(ret)); \
|
||||
} \
|
||||
if (ret != val) { \
|
||||
TestErrPrintf ("*** UNEXPECTED RETURN from %s: returned value of %p is not equal to %p line %4d in %s\n", \
|
||||
(where), (void *)(ret), (void *)(val), (int)__LINE__, __FILE__); \
|
||||
(where), (const void *)(ret), (const void *)(val), (int)__LINE__, __FILE__); \
|
||||
H5Eprint2(H5E_DEFAULT, stdout); \
|
||||
} \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user