* some warning fixes for gcc 4.1.1

This commit is contained in:
djcb 2012-03-14 00:07:29 +02:00
parent 91457611b5
commit ba10026dc2
2 changed files with 2 additions and 2 deletions

View File

@ -619,7 +619,7 @@ mu_msg_part_find_cid (MuMsg *msg, const char* sought_cid)
return msg_part_find_idx (msg->_file->_mime_msg,
(MatchFunc)match_content_id,
(gpointer)cid);
(gpointer)(char*)cid);
}
struct _MatchData2 {

View File

@ -332,7 +332,7 @@ mu_query_run (MuQuery *self, const char* searchexpr, gboolean threads,
enq.set_cutoff(0,0);
return mu_msg_iter_new (
(XapianEnquire*)&enq,
reinterpret_cast<XapianEnquire*>(&enq),
maxnum <= 0 ? self->db().get_doccount() : maxnum,
threads,
threads ? sortfieldid : MU_MSG_FIELD_ID_NONE,