gst/gst.override: gchar is way smaller than an int... resulting in negative line numbers in debug.

Original commit message from CVS:
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
This commit is contained in:
Edward Hervey 2005-08-10 15:24:12 +00:00
parent 4164682236
commit 54936521fb
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-08-10 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
2005-08-10 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (pygst_debug_log):

View file

@ -226,7 +226,7 @@ pygst_debug_log (PyObject *whatever, PyObject *string, GstDebugLevel level)
gchar *str;
gchar *function;
gchar *filename;
gchar lineno;
int lineno;
PyFrameObject *frame;
if (!PyArg_ParseTuple(string, "s:gst.debug_log", &str)) {