summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:01:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:01:28 +0200
commit4795aaaa57b2916b2010f47aa084232e512b1a0e (patch)
tree48294678d09b9d639bd8f441a2e0151652cb2b4b
parent48e8a4c22a6511a833e5bd377f1d950f59b69bad (diff)
downloadktechlab-r14.0.4.tar.gz
ktechlab-r14.0.4.zip
Fix FTBFS with GCC6r14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit dd20ae0d5b1af594955874a4fa493bd4b553c941)
-rw-r--r--src/electronics/port.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/electronics/port.cpp b/src/electronics/port.cpp
index a173918..e0a8766 100644
--- a/src/electronics/port.cpp
+++ b/src/electronics/port.cpp
@@ -244,13 +244,13 @@ const int IRQ_MODE_BIT = 1 << 20; // Controls if pin 10 (Ack) causes interrupts
const int INPUT_MODE_BIT = 1 << 21; // Controls if the data pins are input or output
const int ALWAYS_INPUT_PINS = ParallelPort::STATUS_PINS;
-const int IOCTL_REG_READ[3] = {
+const unsigned int IOCTL_REG_READ[3] = {
PPRDATA,
PPRSTATUS,
PPRCONTROL,
};
-const int IOCTL_REG_WRITE[3] = {
+const unsigned int IOCTL_REG_WRITE[3] = {
PPWDATA,
0,
PPWCONTROL,