summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/snd/_Sndihooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/snd/_Sndihooks.c')
-rw-r--r--Mac/Modules/snd/_Sndihooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/snd/_Sndihooks.c b/Mac/Modules/snd/_Sndihooks.c
index 74cad9b..383663a 100644
--- a/Mac/Modules/snd/_Sndihooks.c
+++ b/Mac/Modules/snd/_Sndihooks.c
@@ -409,7 +409,7 @@ sndih_getSampleSizeAvailable(self, args)
if( (rsizes = PyTuple_New(arg.numsizes)) == NULL)
return NULL;
for( i=0; i<arg.numsizes; i++ )
- PyTuple_SetItem(rsizes, i, PyInt_FromLong((long)fsizes[i]));
+ PyTuple_SetItem(rsizes, i, PyLong_FromLong((long)fsizes[i]));
return rsizes;
}