Add encoding for VT_R8.

Bug fix: Initialise child_size.
This commit is contained in:
Huw Davies 2005-01-25 19:02:32 +00:00 committed by Alexandre Julliard
parent 3b4801c5e5
commit b9bfc8e909
1 changed files with 7 additions and 1 deletions

View File

@ -682,7 +682,7 @@ static int encode_type(
int typeoffset;
int *typedata;
int target_type;
int child_size;
int child_size = 0;
chat("encode_type vt %d type %p\n", vt, type);
@ -741,6 +741,12 @@ static int encode_type(
*alignment = 4;
break;
case VT_R8:
*encoded_type = default_type;
*width = 8;
*alignment = 8;
break;
case VT_CY:
*encoded_type = default_type;
*width = 8;