Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
director_thread testcase fix
  • Loading branch information
wsfulton committed May 12, 2017
1 parent be5d046 commit e054120
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Examples/test-suite/director_thread.i
Expand Up @@ -18,7 +18,8 @@
#include <unistd.h>
#endif

#include <swig_examples_lock.h>
#include <assert.h>
#include "swig_examples_lock.h"

class Foo;
extern "C" {
Expand Down Expand Up @@ -76,7 +77,7 @@ extern "C" {

void run() {
%#ifdef _WIN32
int thread_id = 0;
unsigned int thread_id = 0;
thread_handle = (HANDLE)_beginthreadex(NULL,0,working,this,0,&thread_id);
if (thread_handle == 0) {
fprintf(stderr, "_beginthreadex failed in run()\n");
Expand Down

0 comments on commit e054120

Please sign in to comment.