nhorman / dropwatch

user space utility to interface to kernel dropwatch facility
GNU General Public License v2.0
633 stars 92 forks source link

Fix build on 32-bit systems #24

Closed LeSpocky closed 4 years ago

LeSpocky commented 4 years ago

Because -Werror is set, some printf statements caused build errors on 32-bit systems when printing uint64_t. This can be handled in a portable way by using the macros from inttypes.h …

Fixes: #12 Signed-off-by: Alexander Dahl post@lespocky.de

idosch commented 4 years ago

Thanks for the fix! Tested successfully on my laptop.

I merged some build fixes to master earlier. Can you please rebase your branch? I would like to see that travis CI successfully builds it before it's merged.

LeSpocky commented 4 years ago

Can you please rebase your branch?

Rebased and force pushed.