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
This commit is contained in:
Benjamin Otte 2004-07-13 14:17:01 +00:00
parent f1d9a4c380
commit f71ec9df53
4 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2004-07-13 Benjamin Otte <otte@gnome.org>
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 <otte@gnome.org> 2004-07-12 Benjamin Otte <otte@gnome.org>
* gst/gsttypes.h: * gst/gsttypes.h:

2
common

@ -1 +1 @@
Subproject commit 59a2885f01e3092ffaefbed270f331c143b16d6b Subproject commit 8f16cd236828a8bb7be51696029e0e24b7a6c517

View file

@ -579,7 +579,7 @@ GST_INT_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS $GST_PKG_CFLAGS \
dnl Private vars for libgst only dnl Private vars for libgst only
GST_LIB_CFLAGS="$GST_PKG_CFLAGS $GST_INT_CFLAGS \ GST_LIB_CFLAGS="$GST_PKG_CFLAGS $GST_INT_CFLAGS \
$VALGRIND_CFLAGS -I\$(top_srcdir)" $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" GST_LIB_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION $EXPORT_LDFLAGS"
AC_SUBST(GST_LIB_CFLAGS) AC_SUBST(GST_LIB_CFLAGS)
AC_SUBST(GST_LIB_LIBS) AC_SUBST(GST_LIB_LIBS)

View file

@ -889,7 +889,7 @@ gst_value_deserialize_buffer (GValue * dest, const char *s)
buffer = gst_buffer_new_and_alloc (len / 2); buffer = gst_buffer_new_and_alloc (len / 2);
data = GST_BUFFER_DATA (buffer); data = GST_BUFFER_DATA (buffer);
for (i = 0; i < len / 2; i++) { 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; ret = FALSE;
break; break;
} }