diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-03-03 17:34:06 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-03-03 17:34:06 +0100 |
commit | fc1afcc89e142f9c77c0e0da767c0e09dc33628d (patch) | |
tree | 9682c6a1cf41cb69ebc5eb6231c01d7988812ed1 /src/libstrongswan/utils.c | |
parent | d02308502f2d0368235d208c6503884fc3ae974c (diff) | |
download | strongswan-fc1afcc89e142f9c77c0e0da767c0e09dc33628d.tar.bz2 strongswan-fc1afcc89e142f9c77c0e0da767c0e09dc33628d.tar.xz |
The return value of snprintf is int not size_t.
Diffstat (limited to 'src/libstrongswan/utils.c')
-rw-r--r-- | src/libstrongswan/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils.c b/src/libstrongswan/utils.c index 8ee576995..b1b860351 100644 --- a/src/libstrongswan/utils.c +++ b/src/libstrongswan/utils.c @@ -121,7 +121,7 @@ void *memstr(const void *haystack, const char *needle, size_t n) */ bool mkdir_p(const char *path, mode_t mode) { - size_t len; + int len; char *pos, full[PATH_MAX]; pos = full; if (!path || *path == '\0') |