Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fix parse_int()

Francis Hoogendijk96741623e6db
diff --git a/GhidraDocs/GhidraClass/ExerciseFiles/Debugger/termmines.c b/GhidraDocs/GhidraClass/ExerciseFiles/Debugger/termmines.c
index 97c115330e..e1ee308a2e 100644
--- a/GhidraDocs/GhidraClass/ExerciseFiles/Debugger/termmines.c
+++ b/GhidraDocs/GhidraClass/ExerciseFiles/Debugger/termmines.c
@@ -189,6 +189,7 @@ unsigned long parse_int(char *a, char *name,
name, a, min, max);
exit(-1);
}
+ return val;
}
void parse_width(char *arg) {