Skip to content

Commit 249bf0c

Browse files
Merge pull request #46 from nathanjackson/fix-f36-compile-errors
fix save_pt1 declarations
2 parents 5d0a743 + 57c0bb7 commit 249bf0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accel/tcg/cpu-exec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ void afl_setup(void) {
371371
int have_names = 0;
372372
if (getenv("AFL_QEMU_INST_RANGES")) {
373373
char *str = getenv("AFL_QEMU_INST_RANGES");
374-
char *saveptr1, *saveptr2 = NULL, save_pt1 = NULL;
374+
char *saveptr1, *saveptr2 = NULL, *save_pt1 = NULL;
375375
char *pt1, *pt2, *pt3 = NULL;
376376

377377
while (1) {
@@ -413,7 +413,7 @@ void afl_setup(void) {
413413

414414
if (getenv("AFL_QEMU_EXCLUDE_RANGES")) {
415415
char *str = getenv("AFL_QEMU_EXCLUDE_RANGES");
416-
char *saveptr1, *saveptr2 = NULL, save_pt1;
416+
char *saveptr1, *saveptr2 = NULL, *save_pt1;
417417
char *pt1, *pt2, *pt3 = NULL;
418418

419419
while (1) {

0 commit comments

Comments
 (0)