Fix various warnings / build issues on Windows

This commit is contained in:
Matt Pharr
2011-12-15 12:06:38 -08:00
parent 8d1b77b235
commit e82a720223
7 changed files with 14 additions and 13 deletions

View File

@@ -43,6 +43,7 @@
#include <windows.h>
#endif // ISPC_IS_WINDOWS
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
@@ -102,7 +103,7 @@ void *ISPCAlloc(void **handle, int64_t size, int32_t alignment) {
int main(int argc, char *argv[]) {
int w = width();
Assert(w <= 16);
assert(w <= 16);
float returned_result[16];
for (int i = 0; i < 16; ++i)