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

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

tsoome
illumos-gate
9783
af834f7...
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


seeemef@mac.com
  1. Ship It!
  2. 
      
igork
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...