* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
/*
gushort gus;
guint gui;
gulong gul;
- gssize gsz;
+ gsize gsz;
gshort gs;
gint gi;
glong gl;
gsz = G_MAXSIZE;
gsz++;
+
g_assert (gsz == 0);
gs = G_MAXSHORT;
#define FORMATSIZE "%" G_GSSIZE_FORMAT " %" G_GSIZE_FORMAT "\n"
string = g_strdup_printf (FORMATSIZE, gsst1, gst1);
- sscanf (string, FORMAT64, &gsst2, &gst2);
+ sscanf (string, FORMATSIZE, &gsst2, &gst2);
g_free (string);
g_assert (gsst1 == gsst2);
g_assert (gst1 == gst2);