gracer-0.1.5-warnings.patch 433 B

12345678910111213141516171819202122
  1. --- gracer-0.1.5/src/glbind.c
  2. +++ gracer-0.1.5/src/glbind.c
  3. @@ -142,7 +142,7 @@
  4. return NULL;
  5. entry = Tcl_FindHashEntry (&cache_hash, key);
  6. - if (&entry)
  7. + if (!entry)
  8. return NULL;
  9. return Tcl_GetHashValue (entry);
  10. --- gracer-0.1.5/src/joystick.c
  11. +++ gracer-0.1.5/src/joystick.c
  12. @@ -20,6 +20,7 @@
  13. */
  14. #include <unistd.h>
  15. +#include <string.h>
  16. #include <errno.h>
  17. #include <sys/types.h>
  18. #include <sys/stat.h>