Cycles:
[blender.git] / intern / cycles / util / util_cache.h
index 91e8a94a58423ebd0fbc11a9be68dfbf2a42b8c9..6e3c7c47e39bba02c68024751f699ae36b633bf7 100644 (file)
@@ -106,7 +106,7 @@ public:
                data.resize(size/sizeof(T));
 
                if(!fread(&data[0], size, 1, f)) {
-                       fprintf(stderr, "Failed to read vector data from cache (%ld).\n", size);
+                       fprintf(stderr, "Failed to read vector data from cache (%lu).\n", (unsigned long)size);
                        return;
                }
        }