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;
|
char* message;
|
||||||
int skiplines = 0;
|
int skiplines = 0;
|
||||||
size_t lines = 0;
|
size_t lines = 0;
|
||||||
int total = list_size(messages);
|
size_t total = list_size(messages);
|
||||||
|
|
||||||
if (total == 0)
|
if (total == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -270,6 +270,7 @@ typedef unsigned __int64 uint64_t;
|
||||||
#define open _open
|
#define open _open
|
||||||
#define close _close
|
#define close _close
|
||||||
#define read _read
|
#define read _read
|
||||||
|
#define write _write
|
||||||
#define NEED_GETOPT
|
#define NEED_GETOPT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue