MSVC compile warnings fixed.

This commit is contained in:
Jan Vidar Krey 2012-10-02 22:47:43 +02:00
parent 564f09ad65
commit e95a892fb7
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ static size_t get_messages(struct chat_history_data* data, size_t num, struct cb
char* message;
int skiplines = 0;
size_t lines = 0;
int total = list_size(messages);
size_t total = list_size(messages);
if (total == 0)
return 0;

View File

@ -270,6 +270,7 @@ typedef unsigned __int64 uint64_t;
#define open _open
#define close _close
#define read _read
#define write _write
#define NEED_GETOPT
#endif