Index: dlls/user/dde/misc.c =================================================================== RCS file: /home/wine/wine/dlls/user/dde/misc.c,v retrieving revision 1.2 diff -u -r1.2 misc.c --- dlls/user/dde/misc.c 2001/06/29 19:20:19 1.2 +++ dlls/user/dde/misc.c 2001/07/14 12:46:09 @@ -785,7 +785,8 @@ wSecondaryString, MAX_BUFFER_LEN, CP_WINUNICODE)) { - wsprintfW(wUniqueNum,"(%ld)", + static const WCHAR format[] = {'(','%','l','d',')',0}; + wsprintfW(wUniqueNum, format, (DWORD)thisInstance->instanceID); lstrcatW(wSecondaryString, wUniqueNum);