16 Mar
2016
16 Mar
'16
12:28 p.m.
Hi Neels, On Mon, Mar 14, 2016 at 11:52:39PM +0100, Neels Hofmeyr wrote:
The introduction of gsm48_hdr_pdisc() caused a new compiler warning. In gsm0480_decode_*(), the gsm48_hdr is const, which we can safely cast away to avoid the warning.
Why does gsm48_hdr_pdisc() not take a 'const struct gsm48_hdr *' argument in the first place? I don't think it modifies the contents of the structure... -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)