Skip to content
Snippets Groups Projects
Commit cf4b22d1 authored by Aleksandr Konstantinov's avatar Aleksandr Konstantinov
Browse files

Removing compiler warining about signed/unsigned comaprison.

Fixing typo.
parent 6abffffb
Branches
Tags
No related merge requests found
......@@ -16,7 +16,7 @@ class RunPump {
friend class Run;
private:
static RunPump* instance_;
static int mark_;
static unsigned int mark_;
#define RunPumpMagic (0xA73E771F)
//std::list<Run*> runs_;
Glib::Mutex list_lock_;
......@@ -34,7 +34,7 @@ class RunPump {
};
RunPump* RunPump::instance_ = NULL;
int RunPump::mark_ = ~RunPumpMagic;
unsigned int RunPump::mark_ = ~RunPumpMagic;
RunPump::RunPump(void):thread_(NULL) {
try {
......@@ -217,7 +217,7 @@ void Run::child_handler(Glib::Pid pid,int result) {
}
void Run::CloseStdout(void) {
if(stdout_ != -1) ::close(stdout_); stdout_==-1;
if(stdout_ != -1) ::close(stdout_); stdout_=-1;
}
void Run::CloseStderr(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment