]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_byteorder.c
test/security: add more inline IPsec functional cases
[dpdk.git] / app / test / test_byteorder.c
index 03c08d9abfcc2fabd9dd9dafbea2236dcc0c4d31..de14ed539e49af44753666250954e3a215f8b6f3 100644 (file)
@@ -46,7 +46,7 @@ test_byteorder(void)
                return -1;
 
        res_u16 = rte_bswap16(0x1337);
-       printf("const %"PRIx16" -> %"PRIx16"\n", 0x1337, res_u16);
+       printf("const %"PRIx16" -> %"PRIx16"\n", (uint16_t)0x1337, res_u16);
        if (res_u16 != 0x3713)
                return -1;