Skip to content

Commit

Permalink
* win32/ui_display.c: Change the type of 'timerid' argument of
Browse files Browse the repository at this point in the history
  timer_proc() from UINT to UINT_PTR.
  • Loading branch information
arakiken committed Jan 6, 2025
1 parent 0b711f5 commit c3e1924
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
with:
msystem: UCRT64
update: true
install: git mingw-w64-ucrt-x86_64-toolchain make
install: git mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-libssh2 make
- name: CI-Build
run: |
CFLAGS="-Wall -g -O2" ./configure --with-gui=win32
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2025-01-07 Araki Ken <arakiken@users.sf.net>

* win32/ui_display.c: Change the type of 'timerid' argument of
timer_proc() from UINT to UINT_PTR.

* zmodem.c: Fix implicit declaration of function 'dirname' in win32.

* bl_def.h: Fix SSIZE_MAX macro.
Expand Down
2 changes: 1 addition & 1 deletion uitoolkit/win32/ui_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static DWORD main_tid; /* XXX set in main(). */
/* --- static functions --- */

#ifdef USE_WIN32API
static VOID CALLBACK timer_proc(HWND hwnd, UINT msg, UINT timerid, DWORD time) {
static VOID CALLBACK timer_proc(HWND hwnd, UINT msg, UINT_PTR timerid, DWORD time) {
ui_display_idling(&_disp);
}
#endif
Expand Down

0 comments on commit c3e1924

Please sign in to comment.