]> git.ipfire.org Git - thirdparty/libvirt.git/commit
scripts/rpcgen: fix 64 unsigned int test on macOS
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 30 Nov 2023 14:07:55 +0000 (14:07 +0000)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Dec 2023 12:50:16 +0000 (13:50 +0100)
commit1f3fe268eb4f89625a627dcf20a858bd757dc329
treeb9f5b352458485e3fd3ecb912b6178a8c4caef9a
parentfb48e1633cbf12be1413b3ada04c70e1602437e2
scripts/rpcgen: fix 64 unsigned int test on macOS

macOS XDR library is an oddball using xdr_u_int64_t instead of
xdr_uint64_t which everyone else has.

The code generator already does the right thing, but the test
program previously generated with the Linux rpcgen program
does not compile on macOS due to this.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
scripts/rpcgen/tests/test_demo.c