diff Objects/typeobject.c @ 29066:90342f395721 legacy-trunk

Patch #734231: Update RiscOS support. In particular, correct riscospath.extsep, and use os.extsep throughout.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 10 May 2003 07:36:56 +0000
parents d792544ab111
children 9ae17b3779bb
line wrap: on
line diff
--- a/Objects/typeobject.c	Sat May 10 07:10:12 2003 +0000
+++ b/Objects/typeobject.c	Sat May 10 07:36:56 2003 +0000
@@ -5086,7 +5086,7 @@
 			   sanity checks and constructing a new argument
 			   list.  Cut all that nonsense short -- this speeds
 			   up instance creation tremendously. */
-			specific = type->tp_new;
+			specific = (void *)type->tp_new;
 			/* XXX I'm not 100% sure that there isn't a hole
 			   in this reasoning that requires additional
 			   sanity checks.  I'll buy the first person to