Skip to content

Commit 0becb8b

Browse files
author
Vitaly Davydov
committed
Fix warnings in output.c
1 parent 6720f3a commit 0becb8b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: src/output.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
* Default is radians.
2222
*/
2323
static unsigned char sphere_output = OUTPUT_RAD;
24-
static short int sphere_output_precision = DBL_DIG;
24+
25+
/*
26+
* Defines the precision of floating point values in output.
27+
*/
28+
static int sphere_output_precision = DBL_DIG;
2529

2630
PG_FUNCTION_INFO_V1(set_sphere_output);
2731
PG_FUNCTION_INFO_V1(spherepoint_out);

0 commit comments

Comments
 (0)