X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Futils.cpp;fp=source%2Fio%2Futils.cpp;h=2b80cc71a6c8ad20dd267b188de5bec7993d974f;hp=eee51cc57d28a6b365fb2e7da57fedeb358c32e5;hb=03862ac4f38db0799872850dc4ab43b88688e4eb;hpb=35589b9f994ef827c34fe6ac91c8344c2a351412 diff --git a/source/io/utils.cpp b/source/io/utils.cpp index eee51cc..2b80cc7 100644 --- a/source/io/utils.cpp +++ b/source/io/utils.cpp @@ -4,9 +4,9 @@ namespace Msp { namespace IO { -unsigned read_all(Base &obj, char *buf, unsigned size) +size_t read_all(Base &obj, char *buf, size_t size) { - unsigned pos = 0; + size_t pos = 0; while(pos