summaryrefslogtreecommitdiff
path: root/external/apache2
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-02-17 17:14:56 +0000
committerjoerg <joerg@NetBSD.org>2011-02-17 17:14:56 +0000
commitd70d30e545c5be4e9a630d2d714487649e562f3f (patch)
tree1913820e332a3cad798cada206f30c317659f722 /external/apache2
parent49ef47ae556d96181010a309dac45b7c7ad22ff8 (diff)
clang is more restrict matching input and output constraints.
Input is long, but used are only the lower 32bit. The cast actually saves a byte in the output.
Diffstat (limited to 'external/apache2')
-rw-r--r--external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c b/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
index a45a9ef0e4b..3dabfa22d27 100644
--- a/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
+++ b/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
@@ -529,7 +529,7 @@ void md5_block_data_order (MD5_CTX *c, const void *p,int num);
asm ( \
"roll %1,%0" \
: "=r"(ret) \
- : "I"(n), "0"(a) \
+ : "I"(n), "0"((unsigned int)a) \
: "cc"); \
ret; \
})