From 734314b8b7b70617a92eb505f75844e6837505ca Mon Sep 17 00:00:00 2001 From: Hugo MacDermott-Opeskin Date: Thu, 4 Jan 2024 08:57:33 +1100 Subject: [PATCH] Fix types on XDR::xdr_ops function struct (#4408) --- package/MDAnalysis/lib/formats/src/xdrfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/MDAnalysis/lib/formats/src/xdrfile.c b/package/MDAnalysis/lib/formats/src/xdrfile.c index 19a1c0b93b4..74261418750 100644 --- a/package/MDAnalysis/lib/formats/src/xdrfile.c +++ b/package/MDAnalysis/lib/formats/src/xdrfile.c @@ -132,8 +132,8 @@ struct XDR int (*x_getbytes) (XDR *__xdrs, char *__addr, unsigned int __len); int (*x_putbytes) (XDR *__xdrs, char *__addr, unsigned int __len); /* two next routines are not 64-bit IO safe - don't use! */ - unsigned int (*x_getpostn) (XDR *__xdrs); - int (*x_setpostn) (XDR *__xdrs, unsigned int __pos); + int64_t (*x_getpostn) (XDR *__xdrs); + int (*x_setpostn) (XDR *__xdrs, int64_t __pos, int __whence); void (*x_destroy) (XDR *__xdrs); } *x_ops;