Copy the correct value if the value is stored directly in the data pointer (in CmiExportValue).

svn path=/trunk/; revision=20545
This commit is contained in:
Hartmut Birr
2006-01-03 14:56:47 +00:00
parent f0fe4ec071
commit 02b247cca6

View File

@@ -1079,7 +1079,7 @@ CmiExportValue (PREGISTRY_HIVE Hive,
ValueCell->DataSize = DataSize | REG_DATA_IN_OFFSET;
ValueCell->DataType = DataType;
memcpy (&ValueCell->DataOffset,
Data,
&Data,
DataSize);
}
else