|
From: Henrik /K. <kaa...@us...> - 2009-10-10 11:39:30
|
Daniel Gollub wrote: > On Friday 09 October 2009 09:35:59 pm Chris Frey wrote: > >> Why is the member ID so large? Is there really a risk of >> 9223372036854775807 different members? >> >> The reason I ask is that 'long long' is not as portable as just long, and >> there is no reason for such a large number, as far as I can see. >> > > No idea, this was introduced long before i joined the OpenSync development. > We should have a look into the subversion logs if Armin mentioned any reason > to use long long ... > > How many public member/group interfaces are using long long? > > If we really want to stick to the frozen interface, we could use gint64 http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gint64 (This would be "binary compatible" with current API for most platforms I guess, yet be more portable). However, I guess that long int should be more than enough... /Henrik |