aboutsummaryrefslogtreecommitdiffstats
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
parent05a85647b7f649ef76a51fed8ee21eaec84232d4 (diff)
downloadgsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.tar.gz
gsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.tar.zst
gsoc2013-evolution-1868c9e675073dfa824dc12e1c2fa3cc1929f70b.zip
Fix compiler warnings in smime.
-rw-r--r--mail/em-migrate.c1
-rw-r--r--smime/lib/e-cert-db.c4
-rw-r--r--widgets/table/e-tree-table-adapter.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c
index 1c58b6ca99..315ed208f0 100644
--- a/mail/em-migrate.c
+++ b/mail/em-migrate.c
@@ -56,6 +56,7 @@
#include <glib/gi18n.h>
#include <e-util/e-util.h>
+#include <libedataserver/e-xml-utils.h>
#include <libedataserver/e-data-server-util.h>
#include <e-util/e-xml-utils.h>
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;
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 416f8aa026..8e583ec8a8 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -30,6 +30,7 @@
#include <glib/gstdio.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
+#include <libedataserver/e-xml-utils.h>
#include "e-util/e-util.h"
#include "e-util/e-xml-utils.h"