Skip to content

Conversation

@pstef
Copy link
Contributor

@pstef pstef commented Oct 19, 2024

../libretro/libretro.cpp:1123:13: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
 1123 |         if ((is_bsx((uint8 *) game->data + 0x7fc0)==1) | (is_bsx((uint8 *) game->data + 0xffc0)==1)) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                        ||
../libretro/libretro.cpp:1123:13: note: cast one or both operands to int to silence this warning
../libretro/libretro.cpp:1151:34: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
 1151 |             for(int lcv = 0; lcv < sizeof(Memory.RAM); lcv++)
      |                              ~~~ ^ ~~~~~~~~~~~~~~~~~~

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.

1 participant