Fix segfault in macOS with 1989/paul

The problem was that the int * needed to be a long *. It became apparent
to me when evaluating it with lldb as I noticed a pointer was long, not
an int. This does not cause a problem with linux. I have no 32-bit
system to test but I don't believe this will be an actual problem.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-27 10:05:01 -07:00
1 parent 465d4239ed
commit 6b0cec23d6
4 files changed
+5 -10

No files matched your search

-5
View File
@@ -361,11 +361,6 @@ better spent on something else here or in that elusive thing called 'real life'.
# 1989
## [1989/paul](1989/paul/paul.c) ([README.md](1989/paul/README.md))
## STATUS: known bug - please help us fix
This entry works under linux but segfaults under macOS. We'll be working on this
but if you have a fix we'll be happy to look at it.
## [1989/westley](1989/westley/westley.c) ([README.md](1989/westley/README.md))
## STATUS: main() function args not allowed - please help us fix