diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-03 17:35:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-03 17:35:10 +0300 |
commit | a21c639529d3e0453fc037473b920fdbb2de5af8 (patch) | |
tree | 42af9b726907ccf3463776cb50af6889a8b8e72e /source/blender/imbuf/intern/cineon | |
parent | 8934b617394ae4508968e5676526c9c4427e7b06 (diff) |
Fix for compilation error caused by strict prototype checking
Diffstat (limited to 'source/blender/imbuf/intern/cineon')
-rw-r--r-- | source/blender/imbuf/intern/cineon/logImageCore.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/cineon/logImageCore.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/cineon/logImageCore.c b/source/blender/imbuf/intern/cineon/logImageCore.c index 424fbcfc503..a340a81d2eb 100644 --- a/source/blender/imbuf/intern/cineon/logImageCore.c +++ b/source/blender/imbuf/intern/cineon/logImageCore.c @@ -154,7 +154,7 @@ ntohf(R32 f) { #define UNDEF_FLOAT 0x7F800000 R32 -undefined() { +undefined(void) { Hack hack; hack.i = UNDEF_FLOAT; return hack.f; diff --git a/source/blender/imbuf/intern/cineon/logImageCore.h b/source/blender/imbuf/intern/cineon/logImageCore.h index 798dfebf059..0ff8e086622 100644 --- a/source/blender/imbuf/intern/cineon/logImageCore.h +++ b/source/blender/imbuf/intern/cineon/logImageCore.h @@ -103,7 +103,7 @@ typedef char ASCII; R32 htonf(R32 f); R32 ntohf(R32 f); -R32 undefined(); +R32 undefined(void); U16 reverseU16(U16 value); U32 reverseU32(U32 value); R32 reverseR32(R32 value); |