mercurial/base85.c
changeset 3332 a5209a1e53d8
parent 3288 e93c926e069e
child 3369 4bad632913d8
--- a/mercurial/base85.c	Wed Oct 11 16:41:52 2006 +0200
+++ b/mercurial/base85.c	Wed Oct 11 09:27:57 2006 -0700
@@ -35,7 +35,7 @@
 	unsigned int acc, val, ch;
         int pad = 0;
 
-	if (!PyArg_ParseTuple(args, "s#|i", &text, &len, &pad))
+	if (!PyArg_ParseTuple(args, "t#|i", &text, &len, &pad))
 		return NULL;
 
         if (pad)
@@ -82,7 +82,7 @@
 	int len, i, j, olen, c, cap;
 	unsigned int acc;
 
-	if (!PyArg_ParseTuple(args, "s#", &text, &len))
+	if (!PyArg_ParseTuple(args, "t#", &text, &len))
 		return NULL;
 
 	olen = len / 5 * 4;