diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-03-22 16:11:39 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-03-27 09:10:33 +0200 |
commit | adfd3b992fc4effb81f8ce9268d66117e8c32557 (patch) | |
tree | 8e54b0eb5cd946366d399a3dac793a217f7742a0 /src/libcharon/plugins/smp/smp.c | |
parent | 008e2df4779d2153b96f2982d21a81abf4b1be93 (diff) | |
download | strongswan-adfd3b992fc4effb81f8ce9268d66117e8c32557.tar.bz2 strongswan-adfd3b992fc4effb81f8ce9268d66117e8c32557.tar.xz |
smp: Use proper signed type to get return value of read(2).
Diffstat (limited to 'src/libcharon/plugins/smp/smp.c')
-rw-r--r-- | src/libcharon/plugins/smp/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/smp/smp.c b/src/libcharon/plugins/smp/smp.c index 68935aaab..830ed4c8d 100644 --- a/src/libcharon/plugins/smp/smp.c +++ b/src/libcharon/plugins/smp/smp.c @@ -627,7 +627,7 @@ static job_requeue_t process(int *fdp) int fd = *fdp; bool oldstate; char buffer[4096]; - size_t len; + ssize_t len; xmlTextReaderPtr reader; char *id = NULL, *type = NULL; |