Re: GLib and 64-bit Windows
- From: Jake Goulding <goulding vivisimo com>
- To: GTK Devel List <gtk-devel-list gnome org>
- Cc: Owen Taylor <otaylor redhat com>
- Subject: Re: GLib and 64-bit Windows
- Date: Mon, 05 Mar 2007 12:21:44 -0500
Sure. Please excuse the following formatting...
gbookmarkfile.c(1838) : warning C4267: 'function' : conversion from
'size_t' to 'gulong', possible loss of data
all_data_dirs = g_new0 (gchar *, g_strv_length ((gchar
**)system_data_dirs) + 2);
gfileutils.c(565) : warning C4267: 'function' : conversion from 'size_t'
to 'gulong', possible loss of data
tmp = g_try_realloc (str, total_allocated);
gkeyfile.c(3330) : warning C4267: 'function' : conversion from 'size_t'
to 'gulong', possible loss of data
string_value = g_new0 (gchar, strlen (value) + 1);
goption.c(994) : warning C4267: 'function' : conversion from 'size_t' to
'gulong', possible loss of data
change->allocated.array.data = g_renew (gchar *,
change->allocated.array.data, change->allocated.array.len + 2);
And more. It sure looks like most of them have to do with the allocation
functions, which all seem to take ulongs as opposed to size_t.
Owen Taylor wrote:
Can you give some examples?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]