diff options
Diffstat (limited to 'src/test/regress/regress.c')
-rw-r--r-- | src/test/regress/regress.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c index 80d0929df3..6b1310344b 100644 --- a/src/test/regress/regress.c +++ b/src/test/regress/regress.c @@ -275,9 +275,10 @@ widget_in(PG_FUNCTION_ARGS) Datum widget_out(PG_FUNCTION_ARGS) { - WIDGET *widget = (WIDGET *) PG_GETARG_POINTER(0); - char *str = psprintf("(%g,%g,%g)", - widget->center.x, widget->center.y, widget->radius); + WIDGET *widget = (WIDGET *) PG_GETARG_POINTER(0); + char *str = psprintf("(%g,%g,%g)", + widget->center.x, widget->center.y, widget->radius); + PG_RETURN_CSTRING(str); } |