diff --git a/Modules/rgbimgmodule.c b/Modules/rgbimgmodule.c index 86ee71c8fb6..4421f5d0cc5 100644 --- a/Modules/rgbimgmodule.c +++ b/Modules/rgbimgmodule.c @@ -723,7 +723,7 @@ ttob(self, args) { int order, oldorder; - if (!getargs(args, "d", &order)) + if (!getargs(args, "i", &order)) return NULL; oldorder = reverse_order; reverse_order = order;