(int)(void*)(int) 64 vs 32

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/.

Holger Freyther holger at freyther.de
Thu Feb 25 13:01:00 UTC 2016


> On 24 Feb 2016, at 23:38, Harald Welte <laforge at gnumonks.org> wrote:
> 
> 
> The more interesting question is probably why is vty->index not pointing
> to 'struct osmo_msc_data' in the first place?  That's what we typically
> use, rather than storing integers in the pointer and then perfomring
> lookups on that.  Holger?

I don't remember why I wanted to work with numbers. We can use the pointer to the struct.

holger


More information about the OpenBSC mailing list