diff -Naur nsat/src/smb/ADMsmb.c nsat.fixed/src/smb/ADMsmb.c
--- nsat/src/smb/ADMsmb.c	2001-08-02 21:27:52.000000000 +0200
+++ nsat.fixed/src/smb/ADMsmb.c	2009-09-04 03:19:24.349405643 +0200
@@ -123,7 +123,7 @@
     {
       usleep (100000);
 
-      if (recvfrom (socket_client, buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, &(int) longueur) != -1)
+      if (recvfrom (socket_client, buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, (int *) &longueur) != -1)
 	{
 
 	  if (nmb2->rep_num != 0)
