Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Nov 29, 2018
1 parent cd10379 commit 435f1d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/ff.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdarg.h>
#include "ff.h"
#include "utils.h"
#include "etc.h"
Expand Down Expand Up @@ -455,11 +456,12 @@ void scan(int *error) {
goto WAD;
case 0x32444157: {
r = "WAD2";
WAD:
int b[2]; // Reads as ints.
_ddread(&b, sizeof(b));
reportf("%s, %d entries at %Xh\n", r, b[0], b[1]);
return;
WAD: { // Fixes "expression expected" on clang-alpine
int b[2]; // Reads as ints.
_ddread(&b, sizeof(b));
reportf("%s, %d entries at %Xh\n", r, b[0], b[1]);
return;
}
}

case 0x6D736100: { // "\0asm", WebAssembly binary
Expand Down

0 comments on commit 435f1d0

Please # to comment.