aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/common/smpl_buf.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-13 14:34:19 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-13 14:34:19 +0100
commit1421adbc61b4525b41a07bc14c47cb47f5f030f0 (patch)
treee7ce29aedf7adede5a4a7a46f216f5c977b9c4a2 /Transceiver52M/device/common/smpl_buf.h
parentdccc82491cbaa6229c64f8978a97b2103fbe0b9e (diff)
smpl_buf: Fix str_code() param and print unknown error val
Diffstat (limited to 'Transceiver52M/device/common/smpl_buf.h')
-rw-r--r--Transceiver52M/device/common/smpl_buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/common/smpl_buf.h b/Transceiver52M/device/common/smpl_buf.h
index ab612de..0b49b82 100644
--- a/Transceiver52M/device/common/smpl_buf.h
+++ b/Transceiver52M/device/common/smpl_buf.h
@@ -68,7 +68,7 @@ public:
@param code an error code
@return a formatted error string
*/
- static std::string str_code(ssize_t code);
+ static std::string str_code(int code);
enum err_code {
ERROR_TIMESTAMP = -1,