Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build with gcc-14 #109

Merged
merged 1 commit into from
May 7, 2024
Merged

fix build with gcc-14 #109

merged 1 commit into from
May 7, 2024

Conversation

heitbaum
Copy link
Contributor

@heitbaum heitbaum commented May 7, 2024

restoreString should be set to 0 not NULL.

Fix the following compile error:
src/cheat.c: In function 'RestoreSearch':
src/cheat.c:2130:29: error: initialization of 'int' from 'void ' makes integer from pointer without a cast [-Wint-conversion]
2130 | int restoreString = NULL; /
Steph */
| ^~~~

restoreString should be set to 0 not NULL.

Fis the following compile error:
src/cheat.c: In function 'RestoreSearch':
src/cheat.c:2130:29: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
 2130 |         int restoreString = NULL;       /* Steph */
      |                             ^~~~
@LibretroAdmin LibretroAdmin merged commit 905808f into libretro:master May 7, 2024
@heitbaum heitbaum deleted the patch-1 branch May 7, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants