diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-02 18:26:28 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-02 18:26:28 +0400 |
commit | efe4ea284abb33bbc0ab99e636decd3195c0e333 (patch) | |
tree | 7bf6b3fa602b7fdf5b911ef3e650d1779be0684d /intern/cycles/util/util_cache.h | |
parent | 1f96a120f6c7bb34a20e524cdd51b151f61c4b75 (diff) |
Cycles:
* Fix broken compile of test app.
* Fix some warnings compiling with gcc for 32 bit.
* More tweaks to avoid extended precision issue from #29301.
Diffstat (limited to 'intern/cycles/util/util_cache.h')
-rw-r--r-- | intern/cycles/util/util_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_cache.h b/intern/cycles/util/util_cache.h index 91e8a94a584..6e3c7c47e39 100644 --- a/intern/cycles/util/util_cache.h +++ b/intern/cycles/util/util_cache.h @@ -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; } } |