mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 14:50:54 -04:00
Removed some more compiler warnings from Windows compile (GCC 4.4).
Added -Wextra to the Windows compile. Added new define in libbitdht for snprintf and fprintf to proper handling of "%ll" under Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2d2b7230d1
commit
970d88200d
35 changed files with 170 additions and 125 deletions
|
@ -95,7 +95,7 @@ int tou_init(void **in_udpsubrecvs, int *type, int number)
|
|||
}
|
||||
|
||||
noUdpSR = number;
|
||||
int i;
|
||||
uint32_t i;
|
||||
for(i = 0; i < noUdpSR; i++)
|
||||
{
|
||||
udpSR[i] = usrArray[i];
|
||||
|
@ -110,7 +110,7 @@ int tou_init(void **in_udpsubrecvs, int *type, int number)
|
|||
|
||||
|
||||
/* open - allocates a sockfd, and checks that the type is okay */
|
||||
int tou_socket(int recvIdx, int type, int /*protocol*/)
|
||||
int tou_socket(uint32_t recvIdx, uint32_t type, int /*protocol*/)
|
||||
{
|
||||
if (!tou_inited)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue