Skip to content
Snippets Groups Projects
  • Joe Hershberger's avatar
    9aabb2f8
    board/esd/cpci405/cpci405.c: Fix compile warning · 9aabb2f8
    Joe Hershberger authored
    
    Fix this:
    cpci405.c: In function 'do_get_bpip':
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 3 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 4 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 5 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 6 has type 'IPaddr_t'
    cpci405.c:700:8: warning: unused variable 'bd'
    
    Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    9aabb2f8
    History
    board/esd/cpci405/cpci405.c: Fix compile warning
    Joe Hershberger authored
    
    Fix this:
    cpci405.c: In function 'do_get_bpip':
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 3 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 4 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 5 has type 'IPaddr_t'
    cpci405.c:737:4: warning: format '%ld' expects type 'long int', but argument 6 has type 'IPaddr_t'
    cpci405.c:700:8: warning: unused variable 'bd'
    
    Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>