changeset 108:cafcb5ea0da1

Fix a warning reported by Visual Studio 2015... Also added support for Windows 10 to the manifests.
author Brian Smith <brian@dbsoft.org>
date Tue, 06 Oct 2015 01:21:00 -0500
parents 172fd5a43b01
children e105a4f6bf92
files src/handyftp.c src/win/handyftp.exe.x64.manifest src/win/handyftp.exe.x86.manifest
diffstat 3 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/handyftp.c	Sat Sep 19 05:15:47 2015 -0500
+++ b/src/handyftp.c	Tue Oct 06 01:21:00 2015 -0500
@@ -6859,7 +6859,7 @@
 
 			m++;
 
-			dw_signal_connect(tempbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(mainFunctions[z]), (void *)mainItems[z]);
+			dw_signal_connect(tempbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(mainFunctions[z]), DW_UINT_TO_POINTER(mainItems[z]));
 			dw_box_pack_start(toolbox, tempbutton, 30, 30, FALSE, FALSE, 0);
 		}
 		else
--- a/src/win/handyftp.exe.x64.manifest	Sat Sep 19 05:15:47 2015 -0500
+++ b/src/win/handyftp.exe.x64.manifest	Tue Oct 06 01:21:00 2015 -0500
@@ -7,6 +7,20 @@
     type="win32"
 />
 <description>HandyFTP</description>
+<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
+	<application> 
+		<!-- Windows 10 --> 
+		<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+		<!-- Windows 8.1 -->
+		<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+		<!-- Windows Vista -->
+		<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
+		<!-- Windows 7 -->
+		<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+		<!-- Windows 8 -->
+		<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
+	</application> 
+</compatibility>
 <dependency>
     <dependentAssembly>
         <assemblyIdentity
--- a/src/win/handyftp.exe.x86.manifest	Sat Sep 19 05:15:47 2015 -0500
+++ b/src/win/handyftp.exe.x86.manifest	Tue Oct 06 01:21:00 2015 -0500
@@ -7,6 +7,20 @@
     type="win32"
 />
 <description>HandyFTP</description>
+<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
+	<application> 
+		<!-- Windows 10 --> 
+		<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+		<!-- Windows 8.1 -->
+		<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+		<!-- Windows Vista -->
+		<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
+		<!-- Windows 7 -->
+		<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+		<!-- Windows 8 -->
+		<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
+	</application> 
+</compatibility>
 <dependency>
     <dependentAssembly>
         <assemblyIdentity