mirror of https://github.com/djcb/mu.git
* some warning fixes for gcc 4.1.1
This commit is contained in:
parent
91457611b5
commit
ba10026dc2
|
@ -619,7 +619,7 @@ mu_msg_part_find_cid (MuMsg *msg, const char* sought_cid)
|
||||||
|
|
||||||
return msg_part_find_idx (msg->_file->_mime_msg,
|
return msg_part_find_idx (msg->_file->_mime_msg,
|
||||||
(MatchFunc)match_content_id,
|
(MatchFunc)match_content_id,
|
||||||
(gpointer)cid);
|
(gpointer)(char*)cid);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct _MatchData2 {
|
struct _MatchData2 {
|
||||||
|
|
|
@ -332,7 +332,7 @@ mu_query_run (MuQuery *self, const char* searchexpr, gboolean threads,
|
||||||
enq.set_cutoff(0,0);
|
enq.set_cutoff(0,0);
|
||||||
|
|
||||||
return mu_msg_iter_new (
|
return mu_msg_iter_new (
|
||||||
(XapianEnquire*)&enq,
|
reinterpret_cast<XapianEnquire*>(&enq),
|
||||||
maxnum <= 0 ? self->db().get_doccount() : maxnum,
|
maxnum <= 0 ? self->db().get_doccount() : maxnum,
|
||||||
threads,
|
threads,
|
||||||
threads ? sortfieldid : MU_MSG_FIELD_ID_NONE,
|
threads ? sortfieldid : MU_MSG_FIELD_ID_NONE,
|
||||||
|
|
Loading…
Reference in New Issue