Fixed warning due to pointer => int conversion
This commit is contained in:
parent
51129fa412
commit
691f4fdf3c
@ -144,8 +144,8 @@ void
|
|||||||
check_aspects_inner_loop(gpointer data, gpointer user_data)
|
check_aspects_inner_loop(gpointer data, gpointer user_data)
|
||||||
{
|
{
|
||||||
struct aspect_check_data *checkData = user_data;
|
struct aspect_check_data *checkData = user_data;
|
||||||
gint outerPlanetId = (gint)g_list_nth_data(checkData->planetIdList, checkData->currentOuterPlanetId);
|
gint outerPlanetId = GPOINTER_TO_INT(g_list_nth_data(checkData->planetIdList, checkData->currentOuterPlanetId));
|
||||||
gint innerPlanetId = (gint)g_list_nth_data(checkData->planetIdList, checkData->currentInnerPlanetId);
|
gint innerPlanetId = GPOINTER_TO_INT(g_list_nth_data(checkData->planetIdList, checkData->currentInnerPlanetId));
|
||||||
planetInfo_t *outerPlanet,
|
planetInfo_t *outerPlanet,
|
||||||
*innerPlanet;
|
*innerPlanet;
|
||||||
planetData_t *outerPlanetData,
|
planetData_t *outerPlanetData,
|
||||||
|
Loading…
Reference in New Issue
Block a user