diff options
| author | jhurst <jhurst@cinecert.com> | 2006-05-30 07:11:19 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-05-30 07:11:19 +0000 |
| commit | 5e91ca52284adc91a42d6fe389c9cc70a33126a6 (patch) | |
| tree | 4e525a17cec341c2e1dc323c14d9cdd0d9ec98f3 /src/JP2K.cpp | |
| parent | 1c20f520f0ac0d44c64cc53991f12c84a416b48f (diff) | |
more printf format fixes
Diffstat (limited to 'src/JP2K.cpp')
| -rwxr-xr-x | src/JP2K.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/JP2K.cpp b/src/JP2K.cpp index ee979ba..3c798ce 100755 --- a/src/JP2K.cpp +++ b/src/JP2K.cpp @@ -89,7 +89,7 @@ ASDCP::JP2K::GetNextMarker(const byte_t** buf, JP2K::Marker& Marker) if ( Marker.m_DataSize != 0 && Marker.m_DataSize < 3 ) { - DefaultLogSink().Error("Illegal data size: %lu\n", Marker.m_DataSize); + DefaultLogSink().Error("Illegal data size: %u\n", Marker.m_DataSize); return ASDCP::RESULT_FAIL; } @@ -120,15 +120,15 @@ ASDCP::JP2K::Accessor::SIZ::Dump(FILE* stream) fprintf(stream, "SIZ: \n"); fprintf(stream, " Rsize: %hu\n", Rsize()); - fprintf(stream, " Xsize: %lu\n", Xsize()); - fprintf(stream, " Ysize: %lu\n", Xsize()); - fprintf(stream, " XOsize: %lu\n", XOsize()); - fprintf(stream, " YOsize: %lu\n", XOsize()); - fprintf(stream, " XTsize: %lu\n", XTsize()); - fprintf(stream, " YTsize: %lu\n", XTsize()); - fprintf(stream, "XTOsize: %lu\n", XTOsize()); - fprintf(stream, "YTOsize: %lu\n", YTOsize()); - fprintf(stream, " Csize: %lu\n", Csize()); + fprintf(stream, " Xsize: %u\n", Xsize()); + fprintf(stream, " Ysize: %u\n", Xsize()); + fprintf(stream, " XOsize: %u\n", XOsize()); + fprintf(stream, " YOsize: %u\n", XOsize()); + fprintf(stream, " XTsize: %u\n", XTsize()); + fprintf(stream, " YTsize: %u\n", XTsize()); + fprintf(stream, "XTOsize: %u\n", XTOsize()); + fprintf(stream, "YTOsize: %u\n", YTOsize()); + fprintf(stream, " Csize: %u\n", Csize()); if ( Csize() > 0 ) { @@ -138,8 +138,8 @@ ASDCP::JP2K::Accessor::SIZ::Dump(FILE* stream) { ImageComponent TmpComp; ReadComponent(i, TmpComp); - fprintf(stream, "%lu: ", i); - fprintf(stream, "%lu, %lu, %lu\n", TmpComp.Ssize, TmpComp.XRsize, TmpComp.YRsize); + fprintf(stream, "%u: ", i); + fprintf(stream, "%u, %u, %u\n", TmpComp.Ssize, TmpComp.XRsize, TmpComp.YRsize); } } } |
