address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10079 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a056136c4c
commit
7c069d221a
@ -56,6 +56,13 @@ class IMAP4Client : public BRemoteMailStorageProtocol {
|
||||
|
||||
virtual status_t CreateMailbox(const char *mailbox);
|
||||
virtual status_t DeleteMailbox(const char *mailbox);
|
||||
|
||||
virtual status_t GetMessage(
|
||||
const char* uid,
|
||||
BPositionIO** out_file, BMessage* out_headers,
|
||||
BPath* out_folder_location) { return BRemoteMailStorageProtocol::GetMessage(uid, out_file, out_headers, out_folder_location); }
|
||||
|
||||
virtual status_t DeleteMessage(const char* uid) { return BRemoteMailStorageProtocol::DeleteMessage(uid); }
|
||||
|
||||
void GetUniqueIDs();
|
||||
|
||||
@ -785,7 +792,7 @@ class IMAP4PartialReader : public BPositionIO {
|
||||
}
|
||||
ssize_t ReadAt(off_t pos, void *buffer, size_t amountToWrite) {
|
||||
ssize_t bytes;
|
||||
while ((bytes = slave->ReadAt(pos,buffer,amountToWrite)) < amountToWrite && !done) {
|
||||
while ((unsigned)(bytes = slave->ReadAt(pos,buffer,amountToWrite)) < amountToWrite && !done) {
|
||||
slave->Seek(0,SEEK_END);
|
||||
FetchMessage("RFC822.TEXT");
|
||||
done = true;
|
||||
|
Loading…
Reference in New Issue
Block a user