summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
26a865f)
GCC this pointed out:
second/prom.c: In function ‘prom_get_netinfo’:
second/prom.c:692: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘prom_handle’
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
chosen = prom_finddevice("/chosen");
if (chosen < 0) {
chosen = prom_finddevice("/chosen");
if (chosen < 0) {
- DEBUG_F("chosen=%d\n", chosen);
+ DEBUG_F("chosen=%lu\n", (unsigned long)chosen);