2
0
Эх сурвалжийг харах

Removed superfluous cast.

Camilla Berglund 11 жил өмнө
parent
commit
5b5717e539
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      tests/threads.c

+ 1 - 1
tests/threads.c

@@ -53,7 +53,7 @@ static void error_callback(int error, const char* description)
 
 static int thread_main(void* data)
 {
-    const Thread* thread = (const Thread*) data;
+    const Thread* thread = data;
 
     glfwMakeContextCurrent(thread->window);
     glfwSwapInterval(1);