[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/log.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/log.h |
Date: |
Wed, 18 Oct 2006 13:17:00 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/10/18 13:17:00
Modified files:
. : ChangeLog
libbase : log.h
Log message:
* libbase/log.: always check for SIZEOF_SIZE_T == SIZEOF_INT
before comparing against SIZEOF_LONG and SIZEOF_SHORT.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1292&r2=1.1293
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.h?cvsroot=gnash&r1=1.27&r2=1.28
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1292
retrieving revision 1.1293
diff -u -b -r1.1292 -r1.1293
--- ChangeLog 18 Oct 2006 13:06:15 -0000 1.1292
+++ ChangeLog 18 Oct 2006 13:17:00 -0000 1.1293
@@ -1,5 +1,7 @@
2006-10-18 Sandro Santilli <address@hidden>
+ * libbase/log.: always check for SIZEOF_SIZE_T == SIZEOF_INT
+ before comparing against SIZEOF_LONG and SIZEOF_SHORT.
* configure.ac: print an error on invalid --enable-sound value.
2006-10-18 Markus Gothe <address@hidden>
Index: libbase/log.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- libbase/log.h 18 Oct 2006 10:34:03 -0000 1.27
+++ libbase/log.h 18 Oct 2006 13:17:00 -0000 1.28
@@ -35,7 +35,7 @@
//
//
-/* $Id: log.h,v 1.27 2006/10/18 10:34:03 bjacques Exp $ */
+/* $Id: log.h,v 1.28 2006/10/18 13:17:00 strk Exp $ */
#ifndef GNASH_LOG_H
#define GNASH_LOG_H
@@ -54,10 +54,10 @@
#if SIZEOF_SIZE_T == SIZEOF_LONG_LONG
#define SIZET_FMT "%lld"
+#elif SIZEOF_SIZE_T == SIZEOF_INT // try "int" first
+ #define SIZET_FMT "%d"
#elif SIZEOF_SIZE_T == SIZEOF_LONG
#define SIZET_FMT "%ld"
-#elif SIZEOF_SIZE_T == SIZEOF_INT
- #define SIZET_FMT "%d"
#elif SIZEOF_SIZE_T == SIZEOF_SHORT
#define SIZET_FMT "%hd"
#endif