Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSCore clang is more r...
details: https://anonhg.NetBSD.org/src/rev/0c2e314c798b
branches: trunk
changeset: 762215:0c2e314c798b
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 17 17:14:56 2011 +0000
description:
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:
external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r c639c2c8ea75 -r 0c2e314c798b external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
--- a/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c Thu Feb 17 17:10:18 2011 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c Thu Feb 17 17:14:56 2011 +0000
@@ -529,7 +529,7 @@
asm ( \
"roll %1,%0" \
: "=r"(ret) \
- : "I"(n), "0"(a) \
+ : "I"(n), "0"((unsigned int)a) \
: "cc"); \
ret; \
})
Home |
Main Index |
Thread Index |
Old Index