* some warning fixes for gcc 4.1.1
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user