diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-08-28 15:37:22 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-08-28 15:37:22 +0000 |
commit | 7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93 (patch) | |
tree | 62f89468c9607219f8c1fbc49c56fe546fc8bde0 /cups/md5.c | |
parent | 3bc376ee94dd13ff43b9af675eb7381e443ea6ea (diff) | |
download | cups-7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93.tar.gz |
Fix Linux builds without normal prerequisite libraries installed.
Also correct GCC 4.8 compiler warnings.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/md5.c')
-rw-r--r-- | cups/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/md5.c b/cups/md5.c index c2d627bd9..851715ff1 100644 --- a/cups/md5.c +++ b/cups/md5.c @@ -333,7 +333,7 @@ _cupsMD5Finish(_cups_md5_state_t *pms, unsigned char digest[16]) for (i = 0; i < 8; ++i) data[i] = (unsigned char)(pms->count[i >> 2] >> ((i & 3) << 3)); /* Pad to 56 bytes mod 64. */ - _cupsMD5Append(pms, pad, ((55 - (pms->count[0] >> 3)) & 63) + 1); + _cupsMD5Append(pms, pad, (int)((55 - (pms->count[0] >> 3)) & 63) + 1); /* Append the length. */ _cupsMD5Append(pms, data, 8); for (i = 0; i < 16; ++i) |