Cryptogenic / PS5-SELF-Decrypter

A portable payload to decrypt PS5 SELF files from the filesystem to USB drive
The Unlicense
50 stars 10 forks source link

Kill warns #3

Closed illusion0001 closed 1 year ago

illusion0001 commented 1 year ago

*Most warns.

main.c:384:48: warning: comparison between pointer and integer ('void *' and 'int') [-Wpointer-integer-compare]
    if (out_file_data == NULL || out_file_data == -1) {
                                 ~~~~~~~~~~~~~ ^  ~~
main.c:683:46: warning: comparison between pointer and integer ('char *' and 'int') [-Wpointer-integer-compare]
    if (g_dirent_buf == NULL || g_dirent_buf == -1) {
                                ~~~~~~~~~~~~ ^  ~~
2 warnings generated.