Fix warning incorrect type warning

This commit is contained in:
Antonio Niño Díaz 2023-05-02 02:21:53 +01:00
parent 5bac142de7
commit 080a46a5bd
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ extern s32 NF_SOCKET;
extern s32 NF_CONNECTED;
/// Size of struct .SIN
extern s32 NF_SINSIZE;
extern int NF_SINSIZE;
/// Received bytes
extern s32 NF_BYTES_RECIEVED;

View File

@ -31,7 +31,7 @@ struct in_addr NF_IP, NF_GATEWAY, NF_MASK, NF_DNS1, NF_DNS2; // Datos de la LAN
// Estructura del socket
s32 NF_SOCKET; // Id del socket (servidor)
s32 NF_CONNECTED; // Resultado de la conexion
s32 NF_SINSIZE; // Tamaño de la Struct .SIN
int NF_SINSIZE; // Tamaño de la Struct .SIN
s32 NF_BYTES_RECIEVED; // Bytes recibidos
struct sockaddr_in NF_SA_SERVER; // Estructura Socket Adress In (Servidor)