Constify t_compare_ptr().

This commit is contained in:
Dag-Erling Smørgrav 2016-10-03 16:55:27 +02:00
parent 94c83d5407
commit c4798b486c
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ t_compare_num(x32, uint32_t);
t_compare_num(i64, int64_t); t_compare_num(i64, int64_t);
t_compare_num(u64, uint64_t); t_compare_num(u64, uint64_t);
t_compare_num(x64, uint64_t); t_compare_num(x64, uint64_t);
t_compare_num(ptr, void *); t_compare_num(ptr, const void *);
#undef t_compare_num #undef t_compare_num
int t_str_is_true(const char *); int t_str_is_true(const char *);

View file

@ -154,7 +154,7 @@ t_compare_num(x32, uint32_t, "0x%" PRIx32);
t_compare_num(i64, int64_t, "%" PRId64); t_compare_num(i64, int64_t, "%" PRId64);
t_compare_num(u64, uint64_t, "%" PRIu64); t_compare_num(u64, uint64_t, "%" PRIu64);
t_compare_num(x64, uint64_t, "0x%" PRIx64); t_compare_num(x64, uint64_t, "0x%" PRIx64);
t_compare_num(ptr, void *, "%p"); t_compare_num(ptr, const void *, "%p");
#undef t_compare_num #undef t_compare_num