Skip to content

Commit

Permalink
Fix a warning in genUnixImageResource.c, and a misspelled reserved word
Browse files Browse the repository at this point in the history
in sqMacV2Browser.m.
  • Loading branch information
eliotmiranda committed May 17, 2024
1 parent be70093 commit 9912fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/packaging/genUnixImageResource.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(int argc, char *argv[])
dot = basename + strlen(basename) - 1;
fprintf(ofh,
"char embeddedImageName[] = \"%.*s\";\n",
dot - basename, basename);
(int)(dot - basename), basename);
fseek(ifh,0,SEEK_END);
fprintf(ofh,"unsigned long embeddedImageSize = %ld;\n",ftell(ifh));
fseek(ifh,0,SEEK_SET);
Expand Down
2 changes: 1 addition & 1 deletion platforms/iOS/vm/OSX/sqMacV2Browser.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sqInt browserGetWindowSize(void) {
return 0;
}

double browserGetWindowScaleFactor(voud) {
double browserGetWindowScaleFactor(void) {
return 1.0;
}

Expand Down

0 comments on commit 9912fe2

Please sign in to comment.