Project

General

Profile

Bug #230

Return type mismatch between declaration and implementation of _threadRun_cb

Added by jralls@ceridwen.us 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Gwenhywfar
Start date:
02/10/2021
Due date:
Betriebssystem:
Windows
AqBanking-Version:
Gwenhywfar 5.5.0, current git master
Anwendung:
GnuCash
Version der Anwendung:
All

Description

C:/gcdev64/gnucash/maint/src/gwenhywfar-5.5.0/src/os/windows/gwenthread.c:157:7: error: conflicting types for '_threadRun_cb'
157 | DWORD _threadRun_cb(LPVOID lpParam) | ^~~~~~~~~~~
C:/gcdev64/gnucash/maint/src/gwenhywfar-5.5.0/src/os/windows/gwenthread.c:48:21: note: previous declaration of '_threadRun_cb' was here
48 | static DWORD WINAPI _threadRun_cb(LPVOID lpParam); | ^~~~~~~~~~~
C:/gcdev64/gnucash/maint/src/gwenhywfar-5.5.0/src/os/windows/gwenthread.c: In function '_threadRun_cb':
C:/gcdev64/gnucash/maint/src/gwenhywfar-5.5.0/src/os/windows/gwenthread.c:170:10: warning: returning 'void *' from a function with return type 'DWORD' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion]
170 | return NULL; | ^~~~

0001-Correct-type-mismatch-for-_threadRun_cb.patch Magnifier - Patch to fix. (753 Bytes) jralls@ceridwen.us, 02/10/2021 01:34 AM

History

#2 Updated by martin 2 months ago

  • Status changed from New to Closed

Thanks, applied.

Regards
Martin

Also available in: Atom PDF