File x.patch of Package OpenSolomonsKey

diff --git a/src/sdl_OpenSolomonsKey.cpp b/src/sdl_OpenSolomonsKey.cpp
index 434cec9..b253bbb 100644
--- a/src/sdl_OpenSolomonsKey.cpp
+++ b/src/sdl_OpenSolomonsKey.cpp
@@ -213,7 +213,7 @@ int main(int argc, char **argv) {
         
         {
             snd_pcm_sframes_t avail = snd_pcm_avail_update(g_alsapcm);
-            if (g_alsapcm > 0)
+            if (0 != g_alsapcm)
                 sem_post(&g_audiosem);
         }
         
diff --git a/src/x11_OpenSolomonsKey.cpp b/src/x11_OpenSolomonsKey.cpp
index 8acfa24..c1c3360 100644
--- a/src/x11_OpenSolomonsKey.cpp
+++ b/src/x11_OpenSolomonsKey.cpp
@@ -438,7 +438,7 @@ int main(int argc, char *argv[]) {
         
         {
             snd_pcm_sframes_t avail = snd_pcm_avail_update(g_alsapcm);
-            if (g_alsapcm > 0)
+            if (0 != g_alsapcm)
                 sem_post(&g_audiosem);
         }
         
openSUSE Build Service is sponsored by