r25765: pidl: fix compiler warning in ndr_align test
authorStefan Metzmacher <metze@samba.org>
Wed, 31 Oct 2007 15:25:44 +0000 (16:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:43:49 +0000 (05:43 +0100)
metze

source/pidl/tests/ndr_align.pl

index 0824acc501c7cce2c3bd2f8febbfd53b3878d42b..26336b777202518567e174cc6be9e367e35551b3 100755 (executable)
@@ -70,11 +70,11 @@ test_samba4_ndr('align-uint8-hyper',
        struct ndr_push *ndr = ndr_push_init_ctx(NULL);
        struct bla r;
        uint8_t expected[] = { 0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
-                                                  0xef, 0xbe, 0xef, 0xbe, 0xef, 0xbe, 0xef, 0xbe };
+                              0xef, 0xbe, 0xef, 0xbe, 0xef, 0xbe, 0xef, 0xbe };
        DATA_BLOB expected_blob = { expected, 16 };
        DATA_BLOB result_blob;
        r.x = 13;
-       r.y = 0xbeefbeefbeefbeef;
+       r.y = 0xbeefbeefbeefbeefLLU;
 
        if (NT_STATUS_IS_ERR(ndr_push_bla(ndr, NDR_SCALARS|NDR_BUFFERS, &r)))
                return 1;