Add forgotten test file
[gevel.git] / gevel.c
diff --git a/gevel.c b/gevel.c
index ab08a9a..69115d5 100644 (file)
--- a/gevel.c
+++ b/gevel.c
@@ -564,7 +564,7 @@ refindPosition(GinStatState *st)
                if ( cmp == 0 )
                {
                        if ( !st->ginstate.tupdesc->attrs[0]->attbyval )
-                               pfree( st->curval );
+                               pfree( (void*) st->curval );
                        return true;
                }