Skip to content

Commit 6cbd413

Browse files
authored
Merge pull request #51 from vitcpp/fix-warnings
Fix warnings in output.c
2 parents 6720f3a + 0becb8b commit 6cbd413

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)