diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 00:50:47 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 00:50:47 (GMT) |
commit | d8a63138ff07db5483c04165b8605680a6247024 (patch) | |
tree | 6fa92d8047c693348c63d8a8c1a6712d38f4219a | |
parent | a9590526e0bfc67184a10d122ac8e34b9f3e8024 (diff) | |
download | mxe-d8a63138ff07db5483c04165b8605680a6247024.zip mxe-d8a63138ff07db5483c04165b8605680a6247024.tar.gz mxe-d8a63138ff07db5483c04165b8605680a6247024.tar.bz2 |
Style fixes
-rw-r--r-- | src/portablexdr-1-castfix.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portablexdr-1-castfix.patch b/src/portablexdr-1-castfix.patch index 4015988..df2db90 100644 --- a/src/portablexdr-1-castfix.patch +++ b/src/portablexdr-1-castfix.patch @@ -45,7 +45,7 @@ diff -burN portablexdr-4.9.1.orig/xdr_rec.c portablexdr-4.9.1/xdr_rec.c - register u_long len = (u_long)(rstrm->out_finger) - - (u_long)(rstrm->frag_header) - sizeof(u_long); + register u_long len = (uintptr_t)(rstrm->out_finger) - -+ (uintptr_t)(rstrm->frag_header) - sizeof(u_long); ++ (uintptr_t)(rstrm->frag_header) - sizeof(u_long); *(rstrm->frag_header) = htonl(len | eormask); - len = (u_long)(rstrm->out_finger) - (u_long)(rstrm->out_base); |