From 1c8434e51beb7469e39eb1133b088a11a951f64a Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 9 Sep 2009 09:37:09 +0000 Subject: [PATCH] oops2 2 --- libvips/arithmetic/arith_dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/arithmetic/arith_dispatch.c b/libvips/arithmetic/arith_dispatch.c index 2b0e9a07..877c7c7e 100644 --- a/libvips/arithmetic/arith_dispatch.c +++ b/libvips/arithmetic/arith_dispatch.c @@ -335,7 +335,7 @@ static im_arg_desc point_args[] = { static int point_vec( im_object *argv ) { - VipsInterpolate *interpolate = VIPS_INTERPOLATE( argv[2] ); + VipsInterpolate *interpolate = VIPS_INTERPOLATE( argv[1] ); double x = *((double *) argv[2]); double y = *((double *) argv[3]); int band = *((double *) argv[4]);