Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-30 10:12:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-30 10:12:47 +0400
commited1cda9a6c48360ed3b69994aa1f8d2557253b92 (patch)
tree4a98a1ffee78c3a5d4bb7fcf502fd7e4fbb05fc9 /release
parent8020b3317c904ace654d91654c46e9b9099ada1d (diff)
style cleanup
Diffstat (limited to 'release')
-rw-r--r--release/windows/contrib/vfapi/vfapi-plugin.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/release/windows/contrib/vfapi/vfapi-plugin.c b/release/windows/contrib/vfapi/vfapi-plugin.c
index 8e1bfb0f247..8d63baa0ce4 100644
--- a/release/windows/contrib/vfapi/vfapi-plugin.c
+++ b/release/windows/contrib/vfapi/vfapi-plugin.c
@@ -188,7 +188,7 @@ HRESULT __stdcall VF_OpenFileFunc_Blen(
SOCKET s_in;
char buf[256];
struct sockaddr_in addr;
- FILE* fp;
+ FILE *fp;
p = lpFileName;
while (*p && *p != '.') p++;
@@ -229,7 +229,7 @@ HRESULT __stdcall VF_OpenFileFunc_Blen(
return VF_ERROR;
}
- rval = (conndesc*) malloc(sizeof(conndesc));
+ rval = (conndesc *) malloc(sizeof(conndesc));
rval->addr = addr;
@@ -281,7 +281,7 @@ HRESULT __stdcall VF_OpenFileFunc_Blen(
HRESULT __stdcall VF_CloseFileFunc_Blen(
VF_FileHandle hFileHandle )
{
- free((conndesc*) hFileHandle);
+ free((conndesc *) hFileHandle);
return VF_OK;
}
@@ -290,7 +290,7 @@ HRESULT __stdcall VF_GetFileInfoFunc_Blen(
VF_FileHandle hFileHandle,
LPVF_FileInfo lpFileInfo )
{
- conndesc * c = (conndesc*) hFileHandle;
+ conndesc *c = (conndesc *) hFileHandle;
if (c == 0) {
return VF_ERROR;
}
@@ -385,10 +385,10 @@ HRESULT __stdcall VF_ReadDataFunc_Blen(
framebuf = (unsigned char*) v->lpData;
for (y = 0; y < height; y++) {
- unsigned char * p = framebuf + v->lPitch * y;
- unsigned char * e = p + width * 3;
+ unsigned char *p = framebuf + v->lPitch * y;
+ unsigned char *e = p + width * 3;
- my_recv(s_in, (char*) p, width * 3);
+ my_recv(s_in, (char *)p, width * 3);
while (p != e) {
unsigned char tmp = p[2];
p[2] = p[0];