Fix (some) Windows compiler warnings

This commit is contained in:
Joseph Henry
2020-04-20 23:50:21 -07:00
parent 925ee3a144
commit 894d3bf415
7 changed files with 28 additions and 22 deletions

View File

@@ -555,7 +555,7 @@ ZT_SOCKET_API int ZTCALL zts_core_running();
* @usage Call this after zts_start(), zts_startjoin() and/or zts_join()
* @return Number of networks joined by this node
*/
ZT_SOCKET_API int ZTCALL zts_get_num_joined_networks();
ZT_SOCKET_API size_t ZTCALL zts_get_num_joined_networks();
/**
* @brief Populates a structure with details for a given network
@@ -749,7 +749,7 @@ ZT_SOCKET_API int zts_get_peer_count();
* @usage Call this after zts_start() has succeeded
* @return
*/
ZT_SOCKET_API int zts_get_peers(struct zts_peer_details *pds, int *num);
ZT_SOCKET_API int zts_get_peers(struct zts_peer_details *pds, unsigned int *num);
/**
* @brief Return details of a given peer.