You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Presuming keysToInclude does not contain '1', the call to strchr() in initKeyboardData() will be NULL. Subtracting from this result can result in undefined/unspecified behavior, according to the ISO C standard. In the event this occurs, what would You suggest is a suitable default value for numStart? 0, perhaps?
The text was updated successfully, but these errors were encountered:
The default value for numStart should be -1, to indicate that '1' was
not found.
On 7/30/12 12:31 PM, FrankDMartinez wrote:
Hi,
Presuming keysToInclude does not contain '1', the call to strchr() in initKeyboardData() will be NULL. Subtracting from this result can result in undefined/unspecified behavior, according to the ISO C standard. In the event this occurs, what would You suggest is a suitable default value for numStart? 0, perhaps?
Reply to this email directly or view it on GitHub: #9
Hi,
Presuming
keysToInclude
does not contain'1'
, the call tostrchr()
ininitKeyboardData()
will beNULL
. Subtracting from this result can result in undefined/unspecified behavior, according to the ISO C standard. In the event this occurs, what would You suggest is a suitable default value fornumStart
? 0, perhaps?The text was updated successfully, but these errors were encountered: