diff options
| author | jhurst <jhurst@cinecert.com> | 2006-05-29 22:32:40 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-05-29 22:32:40 +0000 |
| commit | 1c20f520f0ac0d44c64cc53991f12c84a416b48f (patch) | |
| tree | 0ac4a891e886d3f5198ca1033d108d6dc5de55e7 /src/Index.cpp | |
| parent | 04591a0dae1919f7ec3d740173b55dfad742fba6 (diff) | |
format string fixes
Diffstat (limited to 'src/Index.cpp')
| -rwxr-xr-x | src/Index.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Index.cpp b/src/Index.cpp index a7bedb1..5e0743c 100755 --- a/src/Index.cpp +++ b/src/Index.cpp @@ -110,9 +110,9 @@ ASDCP::MXF::IndexTableSegment::Dump(FILE* stream) fprintf(stream, " IndexEditRate = %s\n", IndexEditRate.EncodeString(identbuf, IdentBufferLen)); fprintf(stream, " IndexStartPosition = %s\n", i64sz(IndexStartPosition, identbuf)); fprintf(stream, " IndexDuration = %s\n", i64sz(IndexDuration, identbuf)); - fprintf(stream, " EditUnitByteCount = %lu\n", EditUnitByteCount); - fprintf(stream, " IndexSID = %lu\n", IndexSID); - fprintf(stream, " BodySID = %lu\n", BodySID); + fprintf(stream, " EditUnitByteCount = %u\n", EditUnitByteCount); + fprintf(stream, " IndexSID = %u\n", IndexSID); + fprintf(stream, " BodySID = %u\n", BodySID); fprintf(stream, " SliceCount = %hu\n", SliceCount); fprintf(stream, " PosTableCount = %hu\n", PosTableCount); @@ -136,7 +136,7 @@ ASDCP::MXF::IndexTableSegment::Dump(FILE* stream) const char* ASDCP::MXF::IndexTableSegment::DeltaEntry::EncodeString(char* str_buf, ui32_t buf_len) const { - snprintf(str_buf, buf_len, "%3i %-3hu %-3lu", PosTableIndex, Slice, ElementData); + snprintf(str_buf, buf_len, "%3d %-3hu %-3u", PosTableIndex, Slice, ElementData); return str_buf; } |
