libgsf, goffice and gnucash

David Hampton hampton-gnucash at rainbolthampton.net
Sun Nov 20 09:30:36 EST 2005


On Sun, 2005-11-20 at 10:53 +0000, Neil Williams wrote:

> Making that:
>   g_warning ("Only read %d bytes, asked for %d",
>      num_read, (int)num_bytes);
> allows the build to continue but that's just my quick and dirty hack!

If num_bytes is a size_t or ssize_t, then this should be:

  g_warning ("Only read %d bytes, asked for %zd",
     num_read, num_bytes);

David




More information about the gnucash-devel mailing list