[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Sun May 24 09:04:25 UTC 2020
The branch, master has been updated
via 741d5f10 Fix some warnings.
from 4f92fd8d Some more checksum improvements
https://git.samba.org/?p=rsync.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 741d5f10c6e95d12dd0fc1d7551c525a67f20932
Author: Wayne Davison <wayne at opencoder.net>
Date: Sun May 24 02:04:14 2020 -0700
Fix some warnings.
-----------------------------------------------------------------------
Summary of changes:
byteorder.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/byteorder.h b/byteorder.h
index efc43cbe..5684d2de 100644
--- a/byteorder.h
+++ b/byteorder.h
@@ -56,14 +56,14 @@ SIVALu(uchar *buf, int pos, uint32 val)
static inline int64
IVAL64(const char *buf, int pos)
{
- return IVALu(buf, pos) | (int64)IVALu(buf, pos + 4) << 32;
+ return IVALu((uchar*)buf, pos) | (int64)IVALu((uchar*)buf, pos + 4) << 32;
}
static inline void
SIVAL64(char *buf, int pos, int64 val)
{
- SIVALu(buf, pos, val);
- SIVALu(buf, pos + 4, val >> 32);
+ SIVALu((uchar*)buf, pos, val);
+ SIVALu((uchar*)buf, pos + 4, val >> 32);
}
#else /* !CAREFUL_ALIGNMENT */
--
The rsync repository.
More information about the rsync-cvs
mailing list