Actions
Bug #9783
closedloader: linux.c: format '%x' expects argument of type 'unsigned int'
Start date:
2018-09-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
With warnings enabled:
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
Updated by Electric Monk almost 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit b075503f221374dd0495c40e8811d229cb9fdc74
commit b075503f221374dd0495c40e8811d229cb9fdc74 Author: Toomas Soome <tsoome@me.com> Date: 2018-09-06T16:52:46.000Z 9783 loader: linux.c: format '%x' expects argument of type 'unsigned int' Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions