Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]>
---
 tests/get_name.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/get_name.c b/tests/get_name.c
index 2481741..a76bdf8 100644
--- a/tests/get_name.c
+++ b/tests/get_name.c
@@ -55,7 +55,7 @@ void check_name(void *fdt, const char *path)
 
        if (len != strlen(getname))
                FAIL("fdt_get_name(%s) returned length %d instead of %d",
-                    path, len, strlen(getname));
+                    path, len, (int) strlen(getname));
 
        /* Now check that it doesn't break if we omit len */
        getname2 = fdt_get_name(fdt, offset, NULL);
-- 
1.5.3.1.139.g9346b

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to