Commit 273604dd authored by Eli Zaretskii's avatar Eli Zaretskii

Avoid compiler warnings in addpm.c and ddeclient.c

* nt/ddeclient.c (DdeCallback):
* nt/addpm.c (DdeCallback): Modify types of the last 2
arguments to avoid compiler warnings in 64-bit builds.
(Bug#38040)
parent 4e444027
Pipeline #3979 failed with stage
in 67 minutes and 55 seconds
...@@ -56,13 +56,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ ...@@ -56,13 +56,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "../src/epaths.h" #include "../src/epaths.h"
#endif #endif
HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD, HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD_PTR,
DWORD); DWORD_PTR);
HDDEDATA CALLBACK HDDEDATA CALLBACK
DdeCallback (UINT uType, UINT uFmt, HCONV hconv, DdeCallback (UINT uType, UINT uFmt, HCONV hconv,
HSZ hsz1, HSZ hsz2, HDDEDATA hdata, HSZ hsz1, HSZ hsz2, HDDEDATA hdata,
DWORD dwData1, DWORD dwData2) DWORD_PTR dwData1, DWORD_PTR dwData2)
{ {
return ((HDDEDATA) NULL); return ((HDDEDATA) NULL);
} }
......
...@@ -21,13 +21,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ ...@@ -21,13 +21,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD, HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD_PTR,
DWORD); DWORD_PTR);
HDDEDATA CALLBACK HDDEDATA CALLBACK
DdeCallback (UINT uType, UINT uFmt, HCONV hconv, DdeCallback (UINT uType, UINT uFmt, HCONV hconv,
HSZ hsz1, HSZ hsz2, HDDEDATA hdata, HSZ hsz1, HSZ hsz2, HDDEDATA hdata,
DWORD dwData1, DWORD dwData2) DWORD_PTR dwData1, DWORD_PTR dwData2)
{ {
return ((HDDEDATA) NULL); return ((HDDEDATA) NULL);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment