From d863f188f2d5591986646d413ba34d68b4cc29de Mon Sep 17 00:00:00 2001 From: wj32 Date: Fri, 1 Oct 2010 06:07:33 +0000 Subject: [PATCH] fixed x64 compiler warnings git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3707 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- 2.x/trunk/phlib/format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2.x/trunk/phlib/format.c b/2.x/trunk/phlib/format.c index 71d5b9a87..2a80a0b5a 100644 --- a/2.x/trunk/phlib/format.c +++ b/2.x/trunk/phlib/format.c @@ -186,7 +186,7 @@ PPH_STRING PhFormat( if (NT_SUCCESS(RtlMultiByteToUnicodeSize( &bytesInUnicodeString, ansiBuffer, - ansiLength + (ULONG)ansiLength ))) { ENSURE_BUFFER_LENGTH(bytesInUnicodeString); @@ -196,7 +196,7 @@ PPH_STRING PhFormat( bytesInUnicodeString, NULL, ansiBuffer, - ansiLength + (ULONG)ansiLength ))) { ADVANCE_BUFFER(bytesInUnicodeString);