From 3bcaa79636b0db439a2f5e8296f855258cf0130f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 30 Apr 2014 12:01:03 +0000 Subject: [PATCH] [COMCAT_WINETEST] * Sync with Wine 1.7.17. * Remove redundant definition. CORE-8080 svn path=/trunk/; revision=63053 --- rostests/winetests/comcat/CMakeLists.txt | 1 - rostests/winetests/comcat/comcat.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rostests/winetests/comcat/CMakeLists.txt b/rostests/winetests/comcat/CMakeLists.txt index b1a5a447e96..264320d3926 100644 --- a/rostests/winetests/comcat/CMakeLists.txt +++ b/rostests/winetests/comcat/CMakeLists.txt @@ -1,5 +1,4 @@ -add_definitions(-D__ROS_LONG64__) add_executable(comcat_winetest comcat.c testlist.c) target_link_libraries(comcat_winetest uuid) set_module_type(comcat_winetest win32cui) diff --git a/rostests/winetests/comcat/comcat.c b/rostests/winetests/comcat/comcat.c index 78d36829583..1e9202f3dbe 100644 --- a/rostests/winetests/comcat/comcat.c +++ b/rostests/winetests/comcat/comcat.c @@ -70,15 +70,15 @@ static void do_enum(void) GUID the_cat[1]; GUID wanted_guid; ULONG fetched = -1; - - static WCHAR szCatID[] = { + + static const WCHAR szCatID[] = { '{', 'd','e','a','d','c','a','f','e', '-','0','0','0','0','-','0','0','0','0', '-','0','0','0','0', '-','0','0','0','0','0','0','0','0','0','0','0','0', '}',0}; - static WCHAR szGuid[] = { + static const WCHAR szGuid[] = { '{', 'd','e','a','d','c','a','f','e','-', 'b','e','e','d','-',