Commit 4c903ea4 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

us->Length is in bytes.

parent 9447958b
......@@ -44,7 +44,7 @@ void dump_ObjectAttributes (const OBJECT_ATTRIBUTES *oa)
LPCSTR debugstr_us( const UNICODE_STRING *us )
{
if (!us) return "<null>";
return debugstr_wn(us->Buffer, us->Length);
return debugstr_wn(us->Buffer, us->Length / sizeof(WCHAR));
}
/*********************************************************************
......@@ -136,5 +136,3 @@ double __cdecl NTDLL__CIpow(double x,double y)
return pow(x,y);
}
#endif /* !defined(__i386__) */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment