--- libgig/trunk/src/Korg.cpp 2016/12/14 17:34:54 3052 +++ libgig/trunk/src/Korg.cpp 2016/12/14 18:55:08 3053 @@ -55,7 +55,7 @@ template inline String readText(RIFF::Chunk* ck) { char buf[SZ+1] = {}; - int n = ck->Read(buf, SZ, 1); + int n = (int) ck->Read(buf, SZ, 1); if (n != SZ) throw Exception("Premature end while reading text field"); String s = buf; @@ -412,7 +412,7 @@ } int KMPInstrument::GetRegionCount() const { - return regions.size(); + return (int) regions.size(); } bool KMPInstrument::Use2ndStart() const {