tools/tools.h: gst_version is unsigned, I need to use gcc 4

Original commit message from CVS:
* tools/tools.h:
gst_version is unsigned, I need to use gcc 4
This commit is contained in:
Benjamin Otte 2005-07-24 21:38:44 +00:00
parent cf2c17a13d
commit 7c04560a0b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-07-24 Benjamin Otte <otte@gnome.org>
* tools/tools.h:
gst_version is unsigned, I need to use gcc 4
2005-07-24 Benjamin Otte <otte@gnome.org> 2005-07-24 Benjamin Otte <otte@gnome.org>
* po/POTFILES.in: * po/POTFILES.in:

View file

@ -47,13 +47,13 @@ void
gst_tools_print_version (const char *program) gst_tools_print_version (const char *program)
{ {
if (__gst_tools_version) { if (__gst_tools_version) {
gint major, minor, micro; guint major, minor, micro;
gst_version (&major, &minor, &micro); gst_version (&major, &minor, &micro);
g_print ("GStreamer (%s) %s %s\n\n", program, GST_PACKAGE, GST_VERSION); g_print ("GStreamer (%s) %s %s\n\n", program, GST_PACKAGE, GST_VERSION);
g_print ("provided by %s\n", GST_ORIGIN); g_print ("provided by %s\n", GST_ORIGIN);
g_print ("release %s\n", GST_VERSION_RELEASE); g_print ("release %s\n", GST_VERSION_RELEASE);
g_print ("using GStreamer Core Library version %d.%d.%d\n", major, minor, micro); g_print ("using GStreamer Core Library version %u.%u.%u\n", major, minor, micro);
exit (0); exit (0);
} }
g_set_prgname (program); g_set_prgname (program);