Re: [gtk-list] OT: size_t and 64 bits
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] OT: size_t and 64 bits
- Date: Fri, 22 Oct 99 11:59:54 +0200
On Thu, 21 Oct 1999 19:43:10 -0400 (EDT), John C Atkeson wrote:
> This is a general C question...
>
> If I recompile my gtk code to 64-bit, does size_t become a 64-bit
> integer?
Depends how it is defined.
> I'm trying to use types that will scale as our systems advance.
Then the correct way is to use "size_t" instead of "long int". "size_t" is
specified by the kernel or libc.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]