diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rfsv16.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rfsv16.cc b/lib/rfsv16.cc index 2fda1a6..3e26f07 100644 --- a/lib/rfsv16.cc +++ b/lib/rfsv16.cc @@ -522,7 +522,7 @@ getResponse(bufferStore & data) "getBufferStore failed." << endl; } else if (data.getWord(0) == 0x2a && data.getWord(2) == data.getLen()-4) { - Enum<errs> ret = (enum errs)data.getWord(4); + Enum<rfsv::errs> ret = (enum errs)(int16_t)data.getWord(4); data.discardFirstBytes(6); return ret; } else { |