Parent: 211067d5576ddee90fbda63bfeaa2e9a1666bbbc
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-04-20 21:00:03
Tree: 7a3337753a85b46c815e62fa1189231c64401755
device: Fix compilation with GCC 10 Class is using only 3 bytes so make sure GCC is aware of that. src/device.c:397:3: note: ‘sprintf’ output between 9 and 11 bytes into a destination of size 9 397 | sprintf(class, "0x%6.6x", device->class); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Diffstat
| M | src/device.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)