From 8c33d0b44a5407d6bd40df767968ce3c49cb60d5 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 27 六月 2024 17:41:46 +0800
Subject: [PATCH] update  win api

---
 jrj/xframe/wobject/xaserver.hpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jrj/xframe/wobject/xaserver.hpp b/jrj/xframe/wobject/xaserver.hpp
index 0378f58..154845d 100644
--- a/jrj/xframe/wobject/xaserver.hpp
+++ b/jrj/xframe/wobject/xaserver.hpp
@@ -196,9 +196,9 @@
     {
         return kxaserver::__CreateDirectory((LPTSTR)pName);
     }
-    static int DownLoadFile(LPCTSTR pStrServer,LPCTSTR pUrl,LPCTSTR pExt,LPTSTR pName=NULL)
+    static int DownLoadFile(LPCTSTR pStrServer,LPCTSTR pUrl,LPCTSTR pExt,LPCTSTR pName=NULL)
     {
-        return kxaserver::DownLoadFile(pStrServer,pUrl,pExt,pName);
+        return kxaserver::DownLoadFile(pStrServer,pUrl,pExt,(LPTSTR)pName);
     }
 
     static int UploadData(LPCTSTR pUri,LPCTSTR pName,LPCTSTR pData)

--
Gitblit v1.9.3