summaryrefslogtreecommitdiffstats
path: root/gsm_bs.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2011-02-20 17:34:24 +0100
committerAndreas Eversberg2011-02-20 17:34:24 +0100
commitd5e639588de9c88d5398cd047c5c73f6d439a5a7 (patch)
treef80db57cfce471be14dce3047386b2d42b3efd96 /gsm_bs.cpp
parentdon't execve() a shell process but always double-fork and then exec the progr... (diff)
downloadlcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.tar.gz
lcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.tar.xz
lcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.zip
[gsm] Removed obsolete gsm.conf handling. Fixed minor compiling issues.
Diffstat (limited to 'gsm_bs.cpp')
-rw-r--r--gsm_bs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm_bs.cpp b/gsm_bs.cpp
index 3ac5bda..a8f7730 100644
--- a/gsm_bs.cpp
+++ b/gsm_bs.cpp
@@ -932,7 +932,7 @@ static int mncc_fd_write(struct lcr_fd *lfd, void *inst, int idx)
return mncc_fd_close(lfd);
if (rc < 0)
return rc;
- if (rc < qe->len)
+ if (rc < (int)qe->len)
return -1;
/* dequeue the successfully sent message */
qe2 = mncc_q_dequeue();