You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/nsat/files/nsat-1.5-lvalue-gcc4.patch

12 lines
375 B

--- a/src/smb/ADMsmb.c
+++ b/src/smb/ADMsmb.c
@@ -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)