Skip to content

Commit f233057

Browse files
committed
Use int return type
1 parent 8c1dc0d commit f233057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/display.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,12 +716,12 @@ PyImaging_EventLoopWin32(PyObject *self, PyObject *args) {
716716

717717
#define GET32(p, o) ((DWORD *)(p + o))[0]
718718

719-
BOOL
719+
int
720720
enhMetaFileProc(
721721
HDC hdc, HANDLETABLE FAR *lpht, CONST ENHMETARECORD *lpmr, int nHandles, LPARAM data
722722
) {
723723
PlayEnhMetaFileRecord(hdc, lpht, lpmr, nHandles);
724-
return TRUE;
724+
return 1;
725725
}
726726

727727
PyObject *

0 commit comments

Comments
 (0)