Skip to content

emscripten: fix pthread_self warnings

Mehdi Sabwat requested to merge b1ue/vlc:pselfwarn into master

pthread_self returns pthread_t, on a toolchain update, the compiler :

  • errors for the code as it is, because it refuses to implicitely cast pthread_t to unsigned long.
  • warns if we cast pthread_t to unsigned long.

This is a suggestion for a fix.

Edited by Mehdi Sabwat

Merge request reports

Loading