• Cyrill Gorcunov's avatar
    arm: proc_parse -- Fix u64 format warnings · af997cce
    Cyrill Gorcunov authored
    Use explicit type to placate the compiler.
    
     | proc_parse.c: In function 'vma_get_mapfile':
     | proc_parse.c:282:6: error: format '%lx' expects argument of type 'long unsigned
     | int', but argument 5 has type 'uint64_t' [-Werror=format=]
     |       pr_err("Strange file mapped at %lx [%s]:%d.%d.%ld\n",
     |       ^
     | proc_parse.c:335:5: error: format '%lx' expects argument of type 'long unsigned
     | int', but argument 5 has type 'uint64_t' [-Werror=format=]
     |      pr_err("Failed to resolve mapping %lx filename\n",
     |      ^
     | cc1: all warnings being treated as errors
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    af997cce
proc_parse.c 49.7 KB