mISDNuser/bridge
Harald Welte 4d45ae8289 bridge.c: Fix some int vs. unsigned long type error
not only is it a signed/unsigned error, but on some architectures the
sizes of those two types are not identical, leading to a buffer overflow
on the stack. gcc-11.2 is complaining about it:

bridge.c: In function ‘ph_control’:
bridge.c:159:9: error: array subscript 2 is outside array bounds of ‘unsigned char[16]’ [-Werror=array-bounds]
  159 |         *d++ = c2;
      |         ^~~~
bridge.c:150:23: note: while referencing ‘data’
  150 |         unsigned char data[MISDN_HEADER_LEN+sizeof(int)+sizeof(int)];
      |                       ^~~~
2022-03-13 14:53:24 +01:00
..
.gitignore gitignore: split according to own comment 2011-04-26 18:57:03 +02:00
Makefile.am More warning fixes 2012-09-13 14:45:47 +02:00
bridge.c bridge.c: Fix some int vs. unsigned long type error 2022-03-13 14:53:24 +01:00