Re: [PATCH] GKeyFile: Switch gint to gint64



> You could also add separate get/set functions for longlong or int64,

That is obviously the correct way to do it. Your patch would break API.

You patch uses strtoll() unconditionally, and you use %lld to printf
gint64 values. Neither is portable. Use g_ascii_strtoll() and
G_GINT64_FORMAT.

--tml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]