Skip to content

Commit

Permalink
MSVC emits a (somewhat reasonable) warning about the non-explicit cas…
Browse files Browse the repository at this point in the history
…t of a size_t to unsigned
  • Loading branch information
Bill-Gray committed Jan 12, 2025
1 parent 8fa29a9 commit 5ca0d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orb_func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ int get_sr_orbits( sr_orbit_t *orbits, OBSERVE FAR *obs,
tptr++;
}
}
rval = tptr - orbits;
rval = (unsigned)( tptr - orbits);
qsort( orbits, rval, sizeof( sr_orbit_t), sr_orbit_compare);
if( writing_sr_elems)
for( i = 0; i < rval; i++)
Expand Down

0 comments on commit 5ca0d73

Please sign in to comment.