]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/windows/eventreader.cpp
Use size_t in EventReader
[libs/core.git] / source / io / windows / eventreader.cpp
index 4a0640f5395f799fc1aacb992cc107ec20214e54..33a095ae5d0f11f7a015eb0b1cf795667db4d1e9 100644 (file)
@@ -22,7 +22,7 @@ struct EventReader::Private
 };
 
 
-EventReader::EventReader(Handle &h, unsigned size):
+EventReader::EventReader(Handle &h, size_t size):
        handle(h),
        priv(new Private)
 {
@@ -92,7 +92,7 @@ void EventReader::wait()
        }
 }
 
-unsigned EventReader::read(char *buf, unsigned len)
+unsigned EventReader::read(char *buf, size_t len)
 {
        if(!priv->buf_avail)
        {