Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 119846
Status: resolved
Priority: 0/
Queue: Curses

People
Owner: GIRAFFED [...] cpan.org
Requestors: dcb314 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Curses-1.36 bug report
Date: Fri, 13 Jan 2017 15:01:07 +0000
To: "bug-Curses [...] rt.cpan.org" <bug-Curses [...] rt.cpan.org>
From: David Binderman <dcb314 [...] hotmail.com>
Hello there, 1. CursesFun.c:3849:39: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] Source code is bool ret = c_mret == ERR ? ERR : wenclose(win, y, x); Suggest add ( and ) to make code clear. Maybe better code bool ret = c_mret == (ERR ? ERR : wenclose(win, y, x)); 2. CursesFun.c:3872:39: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] Duplicate. Regards David Binderman
I will fix the bug in 1.37. The fix will be bool ret = c_mret == ERR ? false : wenclose(win, y, x); and likewise for mouse_trafo.