From 0e3c9d454bc32e7cbd7daf2d3524627428a8d012 Mon Sep 17 00:00:00 2001 From: Patrick Haller <patrick.haller@innotek.de> Date: Tue, 19 Feb 2002 18:23:09 +0000 Subject: [PATCH] Fix crash in VariantTimeToDosDateTime. --- dlls/oleaut32/variant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index 7e8be610d2a..a5fb880b304 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -4361,8 +4361,8 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE * pnumprs, BYTE * rgbDig, INT WINAPI VariantTimeToDosDateTime(DATE pvtime, USHORT *wDosDate, USHORT *wDosTime) { struct tm t; - wDosTime = 0; - wDosDate = 0; + *wDosTime = 0; + *wDosDate = 0; TRACE("( 0x%x, 0x%x, %p ), stub\n", *wDosDate, *wDosTime, &pvtime ); -- GitLab