diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-08-06 21:54:22 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-08-06 21:54:22 +0200 |
commit | a7838b25797e7bbabcd232e209d3539aa098409c (patch) | |
tree | da277c5164b3ee958167bec1cf0a5efe898d3b5b /gnupgparse.c | |
parent | 1ce4a828e2f0ac545ef2628a56b1065282a695b5 (diff) |
Fix comparison signedness warnings.
Diffstat (limited to 'gnupgparse.c')
-rw-r--r-- | gnupgparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnupgparse.c b/gnupgparse.c index 56f9061f..9de18ebd 100644 --- a/gnupgparse.c +++ b/gnupgparse.c @@ -108,7 +108,7 @@ static void fix_uid (char *uid) memcpy (uid, buf, ob-buf); uid[ob-buf] = '\0'; } - else if (ob-buf == n && (buf[n] = 0, strlen (buf) < n)) + else if (n >= 0 && ob-buf == n && (buf[n] = 0, strlen (buf) < (size_t)n)) memcpy (uid, buf, n); } FREE (&buf); |