From f71ec9df53e0c661ba74cad035989e6987b0c5b7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 13 Jul 2004 14:17:01 +0000 Subject: [PATCH] compatibility fixes for Solaris 8/gcc 2.95 Original commit message from CVS: compatibility fixes for Solaris 8/gcc 2.95 * configure.ac: include libintl libs in LDFLAGS * gstvalue.c (gst_value_deserialize_buffer): cast isxdigit stuff to int to silence compiler warning --- ChangeLog | 8 ++++++++ common | 2 +- configure.ac | 2 +- gst/gstvalue.c | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b39b8e2a7..a9dd5b7d40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-07-13 Benjamin Otte + + compatibility fixes for Solaris 8/gcc 2.95 + * configure.ac: + include libintl libs in LDFLAGS + * gstvalue.c (gst_value_deserialize_buffer): + cast isxdigit stuff to int to silence compiler warning + 2004-07-12 Benjamin Otte * gst/gsttypes.h: diff --git a/common b/common index 59a2885f01..8f16cd2368 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 59a2885f01e3092ffaefbed270f331c143b16d6b +Subproject commit 8f16cd236828a8bb7be51696029e0e24b7a6c517 diff --git a/configure.ac b/configure.ac index 07acb1af59..1931689bdc 100644 --- a/configure.ac +++ b/configure.ac @@ -579,7 +579,7 @@ GST_INT_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS $GST_PKG_CFLAGS \ dnl Private vars for libgst only GST_LIB_CFLAGS="$GST_PKG_CFLAGS $GST_INT_CFLAGS \ $VALGRIND_CFLAGS -I\$(top_srcdir)" -GST_LIB_LIBS="$XML_LIBS $GLIB_LIBS -lpopt $GST_PKG_LIBS $VALGRIND_LIBS" +GST_LIB_LIBS="$XML_LIBS $GLIB_LIBS -lpopt $GST_PKG_LIBS $LTLIBINTL $VALGRIND_LIBS" GST_LIB_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION $EXPORT_LDFLAGS" AC_SUBST(GST_LIB_CFLAGS) AC_SUBST(GST_LIB_LIBS) diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 901c484abc..da84f44710 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -889,7 +889,7 @@ gst_value_deserialize_buffer (GValue * dest, const char *s) buffer = gst_buffer_new_and_alloc (len / 2); data = GST_BUFFER_DATA (buffer); for (i = 0; i < len / 2; i++) { - if (!isxdigit (s[i * 2]) || !isxdigit (s[i * 2 + 1])) { + if (!isxdigit ((int) s[i * 2]) || !isxdigit ((int) s[i * 2 + 1])) { ret = FALSE; break; }