Linux build fixes

This commit is contained in:
Matt Pharr
2011-08-17 07:08:44 -07:00
parent 87ec7aa10d
commit 74c2c8ae07
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@
#include <math.h>
#include <algorithm>
#include <assert.h>
#include <string.h>
#include <sys/types.h>
#include "../timing.h"
#include "../cpuid.h"

View File

@@ -181,7 +181,7 @@ ISPCLaunch(void *f, void *d) {
static void *
lTaskEntry(void *arg) {
int threadIndex = (int)arg;
int threadIndex = (int)((int64_t)arg);
int threadCount = nThreads;
TaskFuncType func;