forked from eartle/lastfm-desktop
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
Application.cpp:433:25: error: ordered comparison between pointer and zero ('void *' and 'int')
if( m_raiseHotKeyId >= 0 )
~~~~~~~~~~~~~~~ ^ ~
1 error generated.
The actual problem is that (void*)-1 is used as a magic value to denote (an unassigned?) key.
Application::Application(int& argc, char** argv)
:unicorn::Application( "fm.last.Scrobbler", argc, argv )
, m_raiseHotKeyId( (void*)-1 )
I'd guess that itself is an undefined bahavior.
Metadata
Metadata
Assignees
Labels
No labels