--- deliantra/Deliantra-Client/Client.xs 2007/04/10 10:13:10 1.177 +++ deliantra/Deliantra-Client/Client.xs 2007/04/11 04:32:51 1.179 @@ -703,9 +703,7 @@ void lowdelay (int fd, int val = 1) CODE: -#ifndef _WIN32 - setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof (val)); -#endif + setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, (void *)&val, sizeof (val)); void win32_proxy_info () @@ -1569,7 +1567,7 @@ { HV *smooth = (HV *)sv_2mortal ((SV *)newHV ()); uint32_t smooth_level[256 / 32]; // one bit for every possible smooth level - uint8_t smooth_max[256][256]; + static uint8_t smooth_max[256][256]; // egad, fats and wasteful on memory (64k) smooth_key skey; int x, y, z; int last_name;