diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-22 16:18:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-22 16:18:01 +0100 |
commit | 8c4a4a74c84f937c6eaf0a8aab27f7417487a6f0 (patch) | |
tree | 9e5ddd6b35890e081a08ee44c46db5cf893434ea /src/certtool-cfg.c | |
parent | 9c0ebc73b82fcb605a146f3b1d83003e118bd210 (diff) | |
download | gnutls-8c4a4a74c84f937c6eaf0a8aab27f7417487a6f0.tar.gz |
certtool: address compiler warnings
Diffstat (limited to 'src/certtool-cfg.c')
-rw-r--r-- | src/certtool-cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c index 186acfa308..90a0ac59fa 100644 --- a/src/certtool-cfg.c +++ b/src/certtool-cfg.c @@ -264,7 +264,7 @@ void cfg_init(void) if (val && !strcmp(val->pzName, name)==0) \ continue; \ len = strlen(val->v.strVal); \ - if (sizeof(str) > len) { \ + if (sizeof(str) > (unsigned)len) { \ strcpy(str, val->v.strVal); \ } else { \ memcpy(str, val->v.strVal, sizeof(str)-1); \ |