Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita25e89d

Browse files
author
Markus Nullmeier
committed
fix non-portable and inefficient variable type
1 parent64fb6b4 commita25e89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎output.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Datumpg_sphere_version(PG_FUNCTION_ARGS);
9595
staticvoid
9696
rad_to_dms(doublerad,unsignedint*deg,unsignedint*min,double*sec)
9797
{
98-
charrsign=(rad<0) ?(-1) :(1);
98+
doublersign=rad<0 ?-1 :1;
9999
constdoublesec_dig=pow(10,FLT_DIG);
100100

101101
rad *= (rsign*RADIANS);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp