Index: comms/linpsk/files/patch-gui_crxdisplay.cpp =================================================================== --- comms/linpsk/files/patch-gui_crxdisplay.cpp (nonexistent) +++ comms/linpsk/files/patch-gui_crxdisplay.cpp (working copy) @@ -0,0 +1,13 @@ +Fix bogus pointer comparison. + +--- gui/crxdisplay.cpp.orig 2017-01-22 12:03:47 UTC ++++ gui/crxdisplay.cpp +@@ -98,7 +98,7 @@ bool CRxDisplay::start_process_loop() + } + else + Sound = new CSound ( settings.serial ); +- if ( Sound <= NULL ) ++ if ( !Sound ) + return false; + + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_rxdata() ) ); Property changes on: comms/linpsk/files/patch-gui_crxdisplay.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: comms/linpsk/files/patch-gui_linpsk.cpp =================================================================== --- comms/linpsk/files/patch-gui_linpsk.cpp (nonexistent) +++ comms/linpsk/files/patch-gui_linpsk.cpp (working copy) @@ -0,0 +1,22 @@ +Fix bogus pointer comparison. + +--- gui/linpsk.cpp.orig 2017-01-22 12:03:55 UTC ++++ gui/linpsk.cpp +@@ -387,7 +387,7 @@ void LinPSK::startTx() + Info = "BPSK"; + break; + } +- if ( Sound <= NULL ) // Only create Sound Device once for output ++ if ( !Sound ) // Only create Sound Device once for output + { + if ( settings.DemoMode ) + { +@@ -401,7 +401,7 @@ void LinPSK::startTx() + Sound = new CSound ( settings.serial ); + connect ( Sound, SIGNAL ( samplesAvailable() ), this, SLOT ( process_txdata() ) ); + } +- if ( Sound <= NULL ) ++ if ( !Sound ) + { + QMessageBox::critical ( 0, " Programm Error! LinPsk", "Could not create Sound Device for Output" ); + TxDisplay->TxFunctions->setStatus ( ON ); Property changes on: comms/linpsk/files/patch-gui_linpsk.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property