mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 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
@@ -445,7 +445,7 @@ func (g *gen) writeBuiltinCallSuspendibles(b *buffer, n *a.Expr, depth uint32) e
|
||||
return err
|
||||
}
|
||||
|
||||
b.printf("if (%s > iobounds1_src - ioptr_src) {\n", scratchName)
|
||||
b.printf("if (%s > ((uint64_t)(iobounds1_src - ioptr_src))) {\n", scratchName)
|
||||
b.printf("%s -= iobounds1_src - ioptr_src;\n", scratchName)
|
||||
b.printf("ioptr_src = iobounds1_src;\n")
|
||||
|
||||
|
||||
Reference in new issue
Block a user