mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 08:56:51 +01:00
Change boolean types to char size
This commit is contained in:
@@ -289,7 +289,7 @@ int sendPacketBuffer(int asocket, char* host, int port, unsigned char* buf, int
|
||||
|
||||
int mysock = 0;
|
||||
|
||||
int getdata(unsigned char* buf, size_t count)
|
||||
int getdata(unsigned char* buf, int count)
|
||||
{
|
||||
int rc = recvfrom(mysock, buf, count, 0, NULL, NULL);
|
||||
//printf("received %d bytes count %d\n", rc, (int)count);
|
||||
|
||||
Reference in New Issue
Block a user