Skip to content

Commit c00b777

Browse files
authored
Merge pull request #3124 from pygame-community/ankith26-fix-comp-warning
Fix a compiler warning in debug mode
2 parents e9ee4c7 + 5b1cebb commit c00b777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_c/surface.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3495,8 +3495,8 @@ _get_buffer_colorplane(PyObject *obj, Py_buffer *view_p, int flags, char *name,
34953495
/* Should not be here */
34963496
PyErr_Format(PyExc_SystemError,
34973497
"Pygame bug caught at line %i in file %s: "
3498-
"unknown mask value %p. Please report",
3499-
(int)__LINE__, __FILE__, (void *)mask);
3498+
"unknown mask value %X. Please report",
3499+
(int)__LINE__, __FILE__, mask);
35003500
return -1;
35013501
#endif
35023502
}

0 commit comments

Comments
 (0)