From 2a6dd4e3d27b32c1fcb39735fab229c51e86f011 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 15 Jul 2015 14:52:07 +0100 Subject: [PATCH] oops in ref_string_get duh typo --- libvips/iofuncs/type.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvips/iofuncs/type.c b/libvips/iofuncs/type.c index 6501e130..0296c4a4 100644 --- a/libvips/iofuncs/type.c +++ b/libvips/iofuncs/type.c @@ -519,8 +519,6 @@ vips_ref_string_get( VipsRefString *refstr, size_t *length ) { VipsArea *area = VIPS_AREA( refstr ); - g_assert( area->type == G_TYPE_DOUBLE ); - return( vips_area_get_data( area, length, NULL, NULL, NULL ) ); }