summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--int-to-long.cocci5
1 files changed, 5 insertions, 0 deletions
diff --git a/int-to-long.cocci b/int-to-long.cocci
index b09c87c..110d97d 100644
--- a/int-to-long.cocci
+++ b/int-to-long.cocci
@@ -75,3 +75,8 @@ expression E1;
@@
-PyNumber_Int(E1)
+PyNumber_Long(E1)
+
+@@
+@@
+-PyInt_Type
++PyLong_Type \ No newline at end of file