This is a fix for bug #6856 (Verse crashing on 64bit linux)

https://projects.blender.org/tracker/index.php?func=detail&aid=6856&group_id=9&atid=125

I basically fixed some warnings about imcompatable types on 64bit linux
and the crashing stopped.

Kent
This commit is contained in:
Kent Mein
2007-06-26 15:08:40 +00:00
parent 60e56fe480
commit bf4368a09e
2 changed files with 4 additions and 2 deletions

View File

@@ -275,7 +275,8 @@ boolean v_con_callback_update(void)
{
static unsigned int seconds;
boolean output = FALSE;
unsigned int size, connection, s;
size_t size;
unsigned int connection, s;
VNetInPacked *p;
v_n_get_current_time(&s, NULL);

View File

@@ -209,7 +209,8 @@ unsigned int v_n_wait_for_incoming(unsigned int microseconds)
int v_n_receive_data(VNetworkAddress *address, char *data, size_t length)
{
struct sockaddr_in address_in;
size_t from_length = sizeof address_in, len;
socklen_t from_length = sizeof address_in;
size_t len;
if(v_n_socket_create() == -1)
return 0;