[Gpredict-svn] SF.net SVN: gpredict:[917] trunk/src
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <aa...@us...> - 2011-10-05 00:45:31
|
Revision: 917 http://gpredict.svn.sourceforge.net/gpredict/?rev=917&view=rev Author: aa1vs Date: 2011-10-05 00:45:25 +0000 (Wed, 05 Oct 2011) Log Message: ----------- Use signed 32 bit integers for orbit counts. Modified Paths: -------------- trunk/src/gtk-sat-list.c trunk/src/gtk-sat-map.h trunk/src/gtk-single-sat.c trunk/src/predict-tools.h Modified: trunk/src/gtk-sat-list.c =================================================================== --- trunk/src/gtk-sat-list.c 2011-10-05 00:41:52 UTC (rev 916) +++ trunk/src/gtk-sat-list.c 2011-10-05 00:45:25 UTC (rev 917) @@ -511,7 +511,7 @@ G_TYPE_DOUBLE, // delay G_TYPE_DOUBLE, // mean anomaly G_TYPE_DOUBLE, // phase - G_TYPE_ULONG, // orbit + G_TYPE_LONG, // orbit G_TYPE_STRING); // visibility Modified: trunk/src/gtk-sat-map.h =================================================================== --- trunk/src/gtk-sat-map.h 2011-10-05 00:41:52 UTC (rev 916) +++ trunk/src/gtk-sat-map.h 2011-10-05 00:45:25 UTC (rev 917) @@ -101,7 +101,7 @@ guint newrcnum; /*!< Number of RC parts in this cycle. */ ground_track_t track_data; /*!< Ground track data. */ - unsigned long track_orbit; /*!< Orbit when the ground track has been updated. */ + long track_orbit; /*!< Orbit when the ground track has been updated. */ } sat_map_obj_t; Modified: trunk/src/gtk-single-sat.c =================================================================== --- trunk/src/gtk-single-sat.c 2011-10-05 00:41:52 UTC (rev 916) +++ trunk/src/gtk-single-sat.c 2011-10-05 00:45:25 UTC (rev 917) @@ -700,7 +700,7 @@ case SINGLE_SAT_FIELD_ORBIT: - buff = g_strdup_printf ("%lu", sat->orbit); + buff = g_strdup_printf ("%ld", sat->orbit); break; Modified: trunk/src/predict-tools.h =================================================================== --- trunk/src/predict-tools.h 2011-10-05 00:41:52 UTC (rev 916) +++ trunk/src/predict-tools.h 2011-10-05 00:45:25 UTC (rev 917) @@ -46,7 +46,7 @@ gdouble max_el; /*!< Maximum elevation during pass */ gdouble aos_az; /*!< Azimuth at AOS */ gdouble los_az; /*!< Azimuth at LOS */ - guint orbit; /*!< Orbit number */ + gint orbit; /*!< Orbit number */ gdouble maxel_az; /*!< Azimuth at maximum elevation */ gchar vis[4]; /*!< Visibility string, e.g. VSE, -S-, V-- */ GSList *details; /*!< List of pass_detail_t entries */ @@ -78,7 +78,7 @@ gdouble phase; gdouble footprint; sat_vis_t vis; - guint orbit; + gint orbit; } pass_detail_t; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |