Changelog: Pre-fix warnings are at: https://github.llnw.net/gist/aprieger/42c4f0e27b68e89b2ed8 1) **cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c** - _Warnings:_ - `warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]` - _Fixes:_ - changed the print format modifier to "%"PRIu64 on lines 2401, 2967, 3024 2) **cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c** - _Warnings:_ - `warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]` - _Fixes:_ - changed the print format modifier to "%"PRIu64 on lines 123, 417 3) **cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c** - _Warnings:_ - `warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]` - `warning: format specifies type 'long long' but the argument has type 'long' [-Wformat]` - `warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]` - _Fixes:_ - changed the print format modifier to "%"PRIu64 on lines 267, 366, 2524, 2559, 3214, 3811, 3821, 3843 - changed the print format modifier to "%ld" on lines 1462, 1523 - changed the print format modifier to "%"PRId64 on lines 1469, 1527 4) **cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c** - _Warnings:_ - `warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]` - `warning: incompatible pointer to integer conversion assigning to 'uint64_t' (aka 'unsigned long') from 'void *' [-Wint-conversion]` - _Fixes:_ - changed the print format modifier to "%"PRIu64 on lines 590, 596 - added the explicit modifier "uint64_t" to NULL on lines 820, 821, 822 You can view, comment on, or merge this pull request online at:
https://github.com/openzfs/openzfs/pull/395 -- Commit Summary -- * libzfs build warning fixes -- File Changes -- M usr/src/lib/libzfs/common/libzfs_dataset.c (6) M usr/src/lib/libzfs/common/libzfs_diff.c (4) M usr/src/lib/libzfs/common/libzfs_pool.c (24) M usr/src/lib/libzfs/common/libzfs_util.c (10) -- Patch Links -- https://github.com/openzfs/openzfs/pull/395.patch https://github.com/openzfs/openzfs/pull/395.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/395 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T5521a04cec904749-Mc4d279ade7f94c5b2b515db7 Powered by Topicbox: https://topicbox.com
