1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 09:31:16 +02:00

receiveContents(): unsigned int -> size_t

This commit is contained in:
Eelco Dolstra 2020-07-30 13:00:30 +02:00
parent 3f3740d676
commit ebee2b7852
3 changed files with 4 additions and 4 deletions

View file

@ -338,7 +338,7 @@ struct RestoreSink : ParseSink
#endif
}
void receiveContents(unsigned char * data, unsigned int len)
void receiveContents(unsigned char * data, size_t len)
{
writeFull(fd.get(), data, len);
}