Module Name:    src
Committed By:   joerg
Date:           Thu Feb 17 17:14:56 UTC 2011

Modified Files:
        src/external/apache2/mDNSResponder/dist/mDNSCore: DNSDigest.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c:1.1.1.1 src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c:1.2
--- src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c:1.1.1.1	Tue Sep 29 22:14:07 2009
+++ src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c	Thu Feb 17 17:14:56 2011
@@ -529,7 +529,7 @@
 				asm (			\
 				"roll %1,%0"		\
 				: "=r"(ret)		\
-				: "I"(n), "0"(a)	\
+				: "I"(n), "0"((unsigned int)a)	\
 				: "cc");		\
 			   ret;				\
 			})

Reply via email to