[pypy-svn] r23694 - pypy/dist/pypy/translator/c

ericvrp at codespeak.net ericvrp at codespeak.net
Mon Feb 27 14:02:53 CET 2006


Author: ericvrp
Date: Mon Feb 27 14:02:42 2006
New Revision: 23694

Modified:
   pypy/dist/pypy/translator/c/gc.py
Log:
Silence a gcc warning


Modified: pypy/dist/pypy/translator/c/gc.py
==============================================================================
--- pypy/dist/pypy/translator/c/gc.py	(original)
+++ pypy/dist/pypy/translator/c/gc.py	Mon Feb 27 14:02:42 2006
@@ -193,7 +193,7 @@
                                                                 is_varsize,
                                                                 err)
         if gcinfo and gcinfo.finalizer:
-            result += ('\nGC_REGISTER_FINALIZER(%s, %s, NULL, NULL, NULL);'
+            result += ('\nGC_REGISTER_FINALIZER(%s, (GC_finalization_proc)%s, NULL, NULL, NULL);'
                        % (eresult, gcinfo.finalizer))
         return result
 



More information about the Pypy-commit mailing list