9783 loader: linux.c: format '%x' expects argument of type 'unsigned int'

Review Request #1190 - Created Sept. 2, 2018 and submitted

Information
Toomas Soome
illumos-gate
9783
af834f7...
Reviewers
general
linux.c: In function 'linux_loadkernel':
linux.c:199:33: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Werror=format=]
  printf("   [Linux-%s, setup=0x%x, size=0x%x]\n",
                                ~^
                                %lx
linux.c:199:44: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=]
  printf("   [Linux-%s, setup=0x%x, size=0x%x]\n",
                                           ~^
                                           %lx

  
C Fraire
Igor Kozhukhov
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...