From owner-svn-src-projects@FreeBSD.ORG Thu Jun 4 22:39:39 2009 Return-Path: Delivered-To: svn-src-projects@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C6301065688; Thu, 4 Jun 2009 22:39:39 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CF85A8FC21; Thu, 4 Jun 2009 22:39:38 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n54MbJJg064463; Thu, 4 Jun 2009 16:37:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 04 Jun 2009 16:37:34 -0600 (MDT) Message-Id: <20090604.163734.775976286.imp@bsdimp.com> To: ed@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200906041803.n54I3DCG099513@svn.freebsd.org> References: <200906041803.n54I3DCG099513@svn.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-projects@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r193446 - in projects/clangbsd: crypto/openssl/crypto/rc5 secure/lib/libcrypto X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 22:39:39 -0000 In message: <200906041803.n54I3DCG099513@svn.freebsd.org> Ed Schouten writes: : Author: ed : Date: Thu Jun 4 18:03:13 2009 : New Revision: 193446 : URL: http://svn.freebsd.org/changeset/base/193446 : : Log: : Allow us to build libcrypto with Clang. : : Modified: : projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h : projects/clangbsd/secure/lib/libcrypto/Makefile : projects/clangbsd/secure/lib/libcrypto/Makefile.inc : : Modified: projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h : ============================================================================== : --- projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h Thu Jun 4 18:03:03 2009 (r193445) : +++ projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h Thu Jun 4 18:03:13 2009 (r193446) : @@ -73,7 +73,11 @@ extern "C" { : #define RC5_DECRYPT 0 : : /* 32 bit. For Alpha, things may get weird */ : +#ifdef __amd64__ : +#define RC5_32_INT unsigned int : +#else : #define RC5_32_INT unsigned long : +#endif Why not #define RC5_32_INT unsigned int which will do the right thing on all our platforms???? Warner