Skip to content
  • Cyrill Gorcunov's avatar
    af997cce
    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: default avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
    af997cce
    arm: proc_parse -- Fix u64 format warnings
    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: default avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Loading