mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Fix some more C++ (not C) compile errors
This commit is contained in:
1 parent
e43aa62d1c
commit
008b83e4b4
4 files changed
+17
-13
No files matched your search
+5
-5
@@ -2906,7 +2906,7 @@ static wuffs_base__status wuffs_gif__decoder__decode_lsd(
|
||||
self->private_impl.c_decode_lsd[0].scratch = 2;
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(7);
|
||||
if (self->private_impl.c_decode_lsd[0].scratch >
|
||||
iobounds1_src - ioptr_src) {
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode_lsd[0].scratch -= iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
goto short_read_src;
|
||||
@@ -3158,7 +3158,7 @@ static wuffs_base__status wuffs_gif__decoder__skip_blocks(
|
||||
self->private_impl.c_skip_blocks[0].scratch = ((uint32_t)(v_block_size));
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(3);
|
||||
if (self->private_impl.c_skip_blocks[0].scratch >
|
||||
iobounds1_src - ioptr_src) {
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_skip_blocks[0].scratch -=
|
||||
iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
@@ -3255,7 +3255,7 @@ static wuffs_base__status wuffs_gif__decoder__decode_ae(
|
||||
self->private_impl.c_decode_ae[0].scratch = ((uint32_t)(v_block_size));
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(3);
|
||||
if (self->private_impl.c_decode_ae[0].scratch >
|
||||
iobounds1_src - ioptr_src) {
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode_ae[0].scratch -=
|
||||
iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
@@ -3298,7 +3298,7 @@ static wuffs_base__status wuffs_gif__decoder__decode_ae(
|
||||
self->private_impl.c_decode_ae[0].scratch = ((uint32_t)(v_block_size));
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(7);
|
||||
if (self->private_impl.c_decode_ae[0].scratch >
|
||||
iobounds1_src - ioptr_src) {
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode_ae[0].scratch -=
|
||||
iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
@@ -3320,7 +3320,7 @@ static wuffs_base__status wuffs_gif__decoder__decode_ae(
|
||||
self->private_impl.c_decode_ae[0].scratch = 2;
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(10);
|
||||
if (self->private_impl.c_decode_ae[0].scratch >
|
||||
iobounds1_src - ioptr_src) {
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode_ae[0].scratch -=
|
||||
iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
|
||||
+6
-3
@@ -2529,7 +2529,8 @@ wuffs_base__status wuffs_gzip__decoder__decode(wuffs_gzip__decoder* self,
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(5);
|
||||
self->private_impl.c_decode[0].scratch = 6;
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(6);
|
||||
if (self->private_impl.c_decode[0].scratch > iobounds1_src - ioptr_src) {
|
||||
if (self->private_impl.c_decode[0].scratch >
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode[0].scratch -= iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
goto short_read_src;
|
||||
@@ -2567,7 +2568,8 @@ wuffs_base__status wuffs_gzip__decoder__decode(wuffs_gzip__decoder* self,
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(9);
|
||||
self->private_impl.c_decode[0].scratch = ((uint32_t)(v_xlen));
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(10);
|
||||
if (self->private_impl.c_decode[0].scratch > iobounds1_src - ioptr_src) {
|
||||
if (self->private_impl.c_decode[0].scratch >
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode[0].scratch -= iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
goto short_read_src;
|
||||
@@ -2610,7 +2612,8 @@ wuffs_base__status wuffs_gzip__decoder__decode(wuffs_gzip__decoder* self,
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(13);
|
||||
self->private_impl.c_decode[0].scratch = 2;
|
||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(14);
|
||||
if (self->private_impl.c_decode[0].scratch > iobounds1_src - ioptr_src) {
|
||||
if (self->private_impl.c_decode[0].scratch >
|
||||
((uint64_t)(iobounds1_src - ioptr_src))) {
|
||||
self->private_impl.c_decode[0].scratch -= iobounds1_src - ioptr_src;
|
||||
ioptr_src = iobounds1_src;
|
||||
goto short_read_src;
|
||||
|
||||
Reference in new issue
Block a user