]> sigrok.org Git - libserialport.git/commit
linux_termios: fix return types to actually match returned values
authorAurelien Jacobs <redacted>
Thu, 4 Sep 2014 18:13:55 +0000 (20:13 +0200)
committerAurelien Jacobs <redacted>
Thu, 4 Sep 2014 18:13:55 +0000 (20:13 +0200)
commit546e9ae5c5b2fd488bb4267c0dfa57cdc751fb88
tree8ced9aaf8280f43ae8c5a4f4923285b89a65dbc0
parent23ef3bf125ead21c0cc4c49d70dd0b8877d8a5fe
linux_termios: fix return types to actually match returned values

This fixes the following warning :

linux_termios.c: In function 'get_termios_get_ioctl':
linux_termios.c:42:2: warning: overflow in implicit constant conversion [-Woverflow]
  return TCGETS2;
  ^

This fixes bug #396.
linux_termios.c
linux_termios.h