[PATCH] osmo-bsc: fix compiler warning: store struct in vty->index

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Sun Mar 27 08:48:30 UTC 2016


On Sat, Mar 26, 2016 at 09:35:11PM +0100, Neels Hofmeyr wrote:
> Don't store an MSC index number in the vty->index void* value. Instead,
> store the osmo_msc_data struct directly. Thus avoid warnings about
> differences in int vs void* sizes, and save some index lookups.

thanks, merged.
-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)



More information about the OpenBSC mailing list