From ripley at stats.ox.ac.uk  Mon Aug 29 16:32:38 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 29 Aug 2005 15:32:38 +0100 (BST)
Subject: [Rd] Compile warning in unique.c
In-Reply-To: <75DDD376F2B6B546B722398AC161106C1384922B@nihexchange2.nih.gov>
References: <75DDD376F2B6B546B722398AC161106C1384922B@nihexchange2.nih.gov>
Message-ID: <Pine.LNX.4.61.0508291528360.5510@gannet.stats>

On Mon, 29 Aug 2005, Harris, Michael (NIH/NCI) [E] wrote:

> I am getting a compile warning when building R from source.  I am building
> on a AMD64 Opteron system  with  gcc (GCC) 3.3.3 (SuSE Linux)
>
> The warning is:
>
>            unique.c: In function `cshash':
>
> unique.c:1146: warning: cast from pointer to integer of different size

Have you bothered to read the code?  The comment there should explain this 
to you.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Compile warning in unique.c
Prof Brian Ripley