Found the following significant warnings:
  mmap.c:486:26: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:497:26: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:514:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:530:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:549:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:571:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:588:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:611:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:628:26: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mmap.c:640:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:661:20: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:707:20: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:981:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mmap.c:990:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:1009:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mmap.c:1018:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:1027:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:1035:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  mmap.c:1049:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mmap.c:1059:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mmap.c:1067:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
See 'd:/Rcompile/CRANpkg/local/4.4/mmap.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 12.3.0'