From 1868c9e675073dfa824dc12e1c2fa3cc1929f70b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 25 May 2009 23:29:43 -0400 Subject: Fix compiler warnings in smime. --- smime/lib/e-cert-db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smime') diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c index 73bfc72131..ae8a79ae23 100644 --- a/smime/lib/e-cert-db.c +++ b/smime/lib/e-cert-db.c @@ -259,7 +259,7 @@ install_loadable_roots (void) XXX yes this is gross. *sigh* */ - char *paths_to_check[] = { + const gchar *paths_to_check[] = { #ifdef MOZILLA_NSS_LIB_DIR MOZILLA_NSS_LIB_DIR, #endif @@ -872,7 +872,7 @@ default_nickname (CERTCertificate *cert) char *nickname = NULL; char *tmp = NULL; int count; - char *nickFmt=NULL; + const char *nickFmt=NULL; CERTCertificate *dummycert; PK11SlotInfo *slot=NULL; CK_OBJECT_HANDLE keyHandle; -- cgit v1.2.3