Hi,

Sorry :-)

I have a GSList list which points to gfloats. I can add them to it fine, but
I can't recover the values!

This is actually giving me GCC warnings:

"warning: dereferencing `void *' pointer
void value not ignored as it ought to be"

on the "xcurrent=(gfloat) *xptr;" line.

When I do this....

  gfloat xcurrent=0;
  gpointer xptr;
  for (j=0; j < g_slist_length(xlist); j++)
  {
    xptr=g_slist_nth_data(xlist, j);
    xcurrent=(gfloat) *xptr;
    // do things with xcurrent
  }

HELP!!!

Rich

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to