Re: exact integral types

Marc Aurele La France <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <[email protected]>
On Tue, 10 Dec 2002, Warren Turkal wrote:

> On Tuesday 10 December 2002 03:24 pm, Marc Aurele La France wrote:
> > After going through that exercise, perhaps, you will have gained a greater
> > appreciation for what portability really means.

> Thank you for the explanation. In these places that warnings are produced,
> should the code call for a CARD32 instead of calling for an unsigned long or
> something like that?

Something like that.  Keep in mind though, that this code currently
compiles on both 32-bit and 64-bit without any warnings related to
long/int or signedness.  There are also printf format strings to contend
with.

I attach the little bit I have on this matter (which includes your patch).

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [email protected]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.
C99.diff.gz (application/octet-stream, 1.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.