fix warnings. add newline to the end of file for crappy unix compilers

This commit is contained in:
sspitzer%netscape.com 1999-08-04 20:40:23 +00:00
Родитель ff863c8659
Коммит aa996d0e5b
3 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -238,4 +238,4 @@ public:
};
#endif /* _nsMsgCompose_H_ */
#endif /* _nsMsgCompose_H_ */

Просмотреть файл

@ -1952,7 +1952,7 @@ nsPop3Protocol::RetrResponse(nsIInputStream* inputStream,
buffer_size = status; // status holds # bytes we've actually buffered so far...
/* normal read. Yay! */
if (m_pop3ConData->bytes_received_in_message + buffer_size >
if ((PRInt32) (m_pop3ConData->bytes_received_in_message + buffer_size) >
m_pop3ConData->cur_msg_size)
buffer_size = m_pop3ConData->cur_msg_size -
m_pop3ConData->bytes_received_in_message;

Просмотреть файл

@ -1503,7 +1503,8 @@ mime_decompose_file_init_fn ( void *stream_closure, MimeHeaders *headers )
struct mime_draft_data *mdd = (struct mime_draft_data *) stream_closure;
nsMsgAttachedFile *attachments = 0, *newAttachment = 0;
int nAttachments = 0;
char *hdr_value = NULL, *parm_value = NULL;
//char *hdr_value = NULL;
char *parm_value = NULL;
PRBool needURL = PR_FALSE;
PRBool creatingMsgBody = PR_TRUE;
PRBool bodyPart = PR_FALSE;