X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=exception.c;h=de31c5fa37f67fb5856b4303af1cd1c1db494214;hp=1f30c80d95a440b2a8ab7c62fb08e1d24bc463bd;hb=8ad6e500312084cd4ae43c7bda476cc7370cda20;hpb=55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb;ds=sidebyside diff --git a/exception.c b/exception.c index 1f30c80..de31c5f 100644 --- a/exception.c +++ b/exception.c @@ -67,7 +67,7 @@ SRD_PRIV void catch_exception(const char *format, ...) /* Send a more precise error location to srd_dbg(), if we have it. */ if (etb && etb != Py_None) { tracestr = NULL; - py_tb = (PyTracebackObject *) etb; + py_tb = (PyTracebackObject *)etb; py_str = PyUnicode_FromFormat("%U:%d in %U", py_tb->tb_frame->f_code->co_filename, py_tb->tb_frame->f_lineno,