Re: patch: One more snprintf() removed


Subject: Re: patch: One more snprintf() removed
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Tue Mar 27 2001 - 18:11:32 CST


Content-Description: snprintf.patch
> - snprintf(nb, 10, "%d", val);
> + sprintf(nb, "%d", val);

Please either:
* explicitly case "val" to gint32
* use g_snprintf instead

This is Gtk code anyway so you don't have to worry about portability.



This archive was generated by hypermail 2b25 : Tue Mar 27 2001 - 18:11:47 CST