mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 06:30:04 +00:00
Data type update
This commit is contained in:
parent
f29626e58f
commit
bd9a18d9ec
@ -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 "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user