From bf0c52e6ff41750585163027254278a9c34d6ed3 Mon Sep 17 00:00:00 2001 From: Stephen Goebel Date: Sun, 10 Nov 2019 16:46:58 -0600 Subject: [PATCH 1/2] fix compile error in find.c --- find/less/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/less/find.c b/find/less/find.c index 8e519f63..c9ccf15a 100644 --- a/find/less/find.c +++ b/find/less/find.c @@ -35,7 +35,7 @@ int main(int argc, string argv[]) { // wait for hay until EOF printf("\nhaystack[%i] = ", size); - int straw = get_int(); + int straw = get_int(""); if (straw == INT_MAX) { break; From ff37dea43a12430319e8c196d4d5e820a40d3e76 Mon Sep 17 00:00:00 2001 From: Stephen Goebel Date: Sun, 10 Nov 2019 16:48:10 -0600 Subject: [PATCH 2/2] fix compilation error in other find.c --- find/more/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/more/find.c b/find/more/find.c index 8e519f63..c9ccf15a 100644 --- a/find/more/find.c +++ b/find/more/find.c @@ -35,7 +35,7 @@ int main(int argc, string argv[]) { // wait for hay until EOF printf("\nhaystack[%i] = ", size); - int straw = get_int(); + int straw = get_int(""); if (straw == INT_MAX) { break;