From 4856d392cf047ab6ab16d7de9021d48d21f621fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 13 Apr 2009 13:48:50 +0100 Subject: [PATCH] Handle unsigned char strings. --- base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.py b/base.py index 6c63273..1632bc0 100644 --- a/base.py +++ b/base.py @@ -372,7 +372,7 @@ class _String(Type): return "char *" def dump(self, instance): - print ' Log::DumpString(%s);' % instance + print ' Log::DumpString((const char *)%s);' % instance String = _String() -- 2.45.2