Re: GLib and 64-bit Windows
- From: "Morten Welinder" <mwelinder gmail com>
- To: "Jake Goulding" <goulding vivisimo com>
- Cc: Tor Lillqvist <tml iki fi>, GTK Devel List <gtk-devel-list gnome org>, Hans Breuer <hans breuer org>
- Subject: Re: GLib and 64-bit Windows
- Date: Sat, 3 Mar 2007 22:16:19 -0500
Or is it more appropriate to cast strlen to an int?
I would really hate to see that. It could easily mask more important
problems later.
Note, that if you really want to change something, it is probably safer
to change it to a gssize, i.e., the signed type of the same width as
size_t. You'll get far fewer surprises with C's handling of signed and
unsigned types that way.
IMHO, don't worry about strlen now.
Morten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]