summaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-05-10 23:46:00 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2004-05-10 23:46:00 +0200
commit69df506b84758a5d1b652fc2b9aa048850ef10de (patch)
treeca44cb8ed3899a6203b85c38ea812d4defc61671 /g10/g10.c
parent* DETAILS, credits-1.0, credits-1.2: ElGamal -> Elgamal. (diff)
downloadgnupg2-69df506b84758a5d1b652fc2b9aa048850ef10de.tar.xz
gnupg2-69df506b84758a5d1b652fc2b9aa048850ef10de.zip
* options.h, mainproc.c (symkey_decrypt_seskey), keyserver.c (struct
keyrec, parse_keyrec, keyserver_search_prompt), keyedit.c (keyedit_menu), g10.c (add_keyserver_url, add_policy_url): Fix some compiler warnings.
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 6ced4f262..9b636dd8a 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -679,8 +679,8 @@ static ARGPARSE_OPTS opts[] = {
{ opcscDriver, "pcsc-driver", 2, "@"},
{ oDisableCCID, "disable-ccid", 0, "@"},
-{0} };
-
+ {0,NULL,0,NULL}
+};
int g10_errors_seen = 0;
@@ -3649,7 +3649,7 @@ add_notation_data( const char *string, int which )
static void
add_policy_url( const char *string, int which )
{
- int i,critical=0;
+ unsigned int i,critical=0;
STRLIST sl;
if(*string=='!')
@@ -3682,7 +3682,7 @@ add_policy_url( const char *string, int which )
static void
add_keyserver_url( const char *string, int which )
{
- int i,critical=0;
+ unsigned int i,critical=0;
STRLIST sl;
if(*string=='!')