Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 64bit pointers?
@ 1999-01-18  2:58 Shing-Gene Yung
  1999-01-18  8:45 ` Matti Aarnio
  0 siblings, 1 reply; 2+ messages in thread
From: Shing-Gene Yung @ 1999-01-18  2:58 UTC (permalink / raw)
  To: axp-list


Hi,
What's the best way to convert 32-bit pointers to 64-bit? (to fix common
warnings abt pointer-int casts....)

thanks,
--shing


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 64bit pointers?
  1999-01-18  2:58 64bit pointers? Shing-Gene Yung
@ 1999-01-18  8:45 ` Matti Aarnio
  0 siblings, 0 replies; 2+ messages in thread
From: Matti Aarnio @ 1999-01-18  8:45 UTC (permalink / raw)
  To: axp-list

Shing-Gene Yung <shing@cz3.nus.edu.sg> asks:
> 
> Hi,
> What's the best way to convert 32-bit pointers to 64-bit? (to fix common
> warnings abt pointer-int casts....)

	Use complete ANSI prototypes, then the *default* return type of
	the undeclared function (int) won't hurt you.

	To help hunting them, use these GCC options:
		-W -Wall -Wstrict-prototypes -Wmissing-prototypes

> thanks,
> --shing

/Matti Aarnio <matti.aarnio@sonera.fi>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-18  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-18  2:58 64bit pointers? Shing-Gene Yung
1999-01-18  8:45 ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox