Skip to content

Commit

Permalink
Fixing signature of readImageFromFileStartingAt
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Jul 28, 2021
1 parent 40d086e commit 3e42cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extracted/vm/include/common/sq.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ sqInt ioDisableImageWrite(void);

#include "pharovm/imageAccess.h"

size_t readImageFromFileHeapSizeStartingAt(sqImageFile f, usqInt desiredHeapSize, squeakFileOffsetType imageOffset);
size_t readImageFromFileStartingAt(sqImageFile f, squeakFileOffsetType imageOffset);

/* Clipboard (cut/copy/paste). */
sqInt clipboardSize(void);
Expand Down
2 changes: 1 addition & 1 deletion src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ loadPharoImage(const char* fileName)
imageSize = sqImageFilePosition(imageFile);
sqImageFileSeek(imageFile, 0);

readImageFromFileHeapSizeStartingAt(imageFile, 0, 0);
readImageFromFileStartingAt(imageFile, 0);
sqImageFileClose(imageFile);

char* fullImageName = alloca(FILENAME_MAX);
Expand Down

0 comments on commit 3e42cf1

Please sign in to comment.