Lines 1-14
Link Here
|
1 |
|
1 |
--- src/libjasper/jpc/jpc_cs.c.orig Fri Jan 19 21:43:07 2007 |
2 |
$FreeBSD: ports/graphics/jasper/files/patch-src::libjasper::jpc::jpc_cs.c,v 1.1 2003/05/06 16:27:48 sobomax Exp $ |
2 |
+++ src/libjasper/jpc/jpc_cs.c Wed Feb 7 11:05:57 2007 |
3 |
|
3 |
@@ -288,7 +288,7 @@ |
4 |
--- src/libjasper/jpc/jpc_cs.c 2003/05/07 16:24:56 1.1 |
|
|
5 |
+++ src/libjasper/jpc/jpc_cs.c 2003/05/07 16:25:31 |
6 |
@@ -337,7 +337,7 @@ |
7 |
jpc_ms_dump(ms, stderr); |
4 |
jpc_ms_dump(ms, stderr); |
8 |
} |
5 |
} |
9 |
|
6 |
|
10 |
- if (JAS_CAST(ulong, jas_stream_tell(tmpstream)) != ms->len) { |
7 |
- if (JAS_CAST(ulong, jas_stream_tell(tmpstream)) != ms->len) { |
11 |
+ if (JAS_CAST(unsigned long, jas_stream_tell(tmpstream)) != ms->len) { |
8 |
+ if (JAS_CAST(unsigned long, jas_stream_tell(tmpstream)) != ms->len) { |
12 |
fprintf(stderr, |
9 |
jas_eprintf("warning: trailing garbage in marker segment (%ld bytes)\n", |
13 |
"warning: trailing garbage in marker segment (%ld bytes)\n", |
|
|
14 |
ms->len - jas_stream_tell(tmpstream)); |
10 |
ms->len - jas_stream_tell(tmpstream)); |
|
|
11 |
} |