14 lines
481 B
Text
14 lines
481 B
Text
Fix passing &size to int *lenptr
|
|
|
|
Index: src/copyout.c
|
|
--- src/copyout.c.orig
|
|
+++ src/copyout.c
|
|
@@ -365,7 +365,7 @@ int do_text(volume* vol, hfsp_fork_raw *fork, UInt8 fo
|
|
{
|
|
UInt32 block = blockiter_curr(&iter);
|
|
int result = volume_readinbuf(vol, buf, block);
|
|
- size_t size = total > blksize ? blksize : total;
|
|
+ int size = total > blksize ? blksize : total;
|
|
size_t bytes;
|
|
char *latin1, *ptr, *ptrend;
|
|
if (result)
|