MSVC compile warnings fixed.
This commit is contained in:
parent
564f09ad65
commit
e95a892fb7
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user