#943570 sa-exim: Lots of compiler warnings

Package:
sa-exim
Source:
sa-exim
Description:
SpamAssassin filter for Exim
Submitter:
Andreas Metzler
Date:
2019-10-26 16:39:51 UTC
Severity:
normal
Tags:
#943570#5
Date:
2019-10-26 16:16:39 UTC
From:
To:
Building sa-exim throws lots of warnings like this one:
-------------------
gcc -I/usr/include/exim4 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/dev/shm/EXIM4/sa-exim-4.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-z,relro -o sa-exim.so sa-exim.c
sa-exim.c: In function 'savemail':
sa-exim.c:285:92: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
  285 |  log_write(0, LOG_MAIN, "SA: Debug9: Archive body write starts: writing up to %d bytes in %d byte blocks", SAmaxarchivebody, sizeof(buffera));
      |                                                                                           ~^                                 ~~~~~~~~~~~~~~~
      |                                                                                            |                                 |
      |                                                                                            int                               long unsigned int
      |                                                                                           %ld
-------------------

cu Andreas