aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-07 13:43:44 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-07 13:43:44 +0200
commit9a2c6655686fb773550b6e1050f60c821eee70b4 (patch)
tree81ead1fa33e8cc5b286741b6539365a9840151c2 /src
parentefe62a73953349ba38781af2c264f273b2dde6e6 (diff)
llc: Fix comparison warning
Fixes: Jenkins build 609 warning Addresses: llc.cpp:56, GNU C Compiler 3 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Sponsored-by: On-Waves ehf
Diffstat (limited to 'src')
-rw-r--r--src/llc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llc.cpp b/src/llc.cpp
index 53a89356..c071d0a1 100644
--- a/src/llc.cpp
+++ b/src/llc.cpp
@@ -49,7 +49,7 @@ void gprs_llc::put_dummy_frame(size_t req_len)
static const uint8_t llc_dummy_command[] = {
0x43, 0xc0, 0x01, 0x2b, 0x2b, 0x2b
};
- static const int max_dummy_command_len = 79;
+ static const size_t max_dummy_command_len = 79;
put_frame(llc_dummy_command, sizeof(llc_dummy_command));