/[svn]/libgig/trunk/src/Korg.cpp
ViewVC logotype

Diff of /libgig/trunk/src/Korg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3052 by schoenebeck, Sat May 10 02:06:58 2014 UTC revision 3053 by schoenebeck, Wed Dec 14 18:55:08 2016 UTC
# Line 55  namespace Korg { Line 55  namespace Korg {
55      template<unsigned int SZ>      template<unsigned int SZ>
56      inline String readText(RIFF::Chunk* ck) {      inline String readText(RIFF::Chunk* ck) {
57          char buf[SZ+1] = {};          char buf[SZ+1] = {};
58          int n = ck->Read(buf, SZ, 1);          int n = (int) ck->Read(buf, SZ, 1);
59          if (n != SZ)          if (n != SZ)
60              throw Exception("Premature end while reading text field");              throw Exception("Premature end while reading text field");
61          String s = buf;          String s = buf;
# Line 412  namespace Korg { Line 412  namespace Korg {
412      }      }
413    
414      int KMPInstrument::GetRegionCount() const {      int KMPInstrument::GetRegionCount() const {
415          return regions.size();          return (int) regions.size();
416      }      }
417    
418      bool KMPInstrument::Use2ndStart() const {      bool KMPInstrument::Use2ndStart() const {

Legend:
Removed from v.3052  
changed lines
  Added in v.3053

  ViewVC Help
Powered by ViewVC