summaryrefslogtreecommitdiff
path: root/src/JP2K.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2006-05-30 07:11:19 +0000
committerjhurst <>2006-05-30 07:11:19 +0000
commit5e91ca52284adc91a42d6fe389c9cc70a33126a6 (patch)
tree4e525a17cec341c2e1dc323c14d9cdd0d9ec98f3 /src/JP2K.cpp
parent1c20f520f0ac0d44c64cc53991f12c84a416b48f (diff)
more printf format fixes
Diffstat (limited to 'src/JP2K.cpp')
-rwxr-xr-xsrc/JP2K.cpp24
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);
}
}
}