aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib/e-cert-db.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:29:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:52:08 +0800
commit1868c9e675073dfa824dc12e1c2fa3cc1929f70b (patch)
tree111240c658b087ca3f61f89caa178c9185cea10a /smime/lib/e-cert-db.c
parent05a85647b7f649ef76a51fed8ee21eaec84232d4 (diff)
downloadgsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.tar.gz
gsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.tar.zst
gsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.zip
Fix compiler warnings in smime.
Diffstat (limited to 'smime/lib/e-cert-db.c')
-rw-r--r--smime/lib/e-cert-db.c4
1 files changed, 2 insertions, 2 deletions
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;