Data type update

This commit is contained in:
Uwe Seimet 2021-07-19 10:40:59 +02:00
parent f29626e58f
commit bd9a18d9ec

View File

@ -46,7 +46,7 @@ string DeserializeProtobufData(int fd)
{
// First read the header with the size of the protobuf data
int32_t size;
if (read(fd, &size, sizeof(int)) != sizeof(int)) {
if (read(fd, &size, sizeof(size)) != sizeof(size)) {
// No more data
return "";
}