summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-14 15:17:45 +0000
committerDavid Robillard <d@drobilla.net>2012-05-14 15:17:45 +0000
commitf4f72247ae1f5eac8610a145c119accf0b6097d9 (patch)
tree3f8e65bbc6e3e3923a5af741f685e10618e52661
parent300afcb83ae798f276e67c056fe1f3fe248e7335 (diff)
downloadingen-f4f72247ae1f5eac8610a145c119accf0b6097d9.tar.gz
ingen-f4f72247ae1f5eac8610a145c119accf0b6097d9.tar.bz2
ingen-f4f72247ae1f5eac8610a145c119accf0b6097d9.zip
Remove useless abs and fix compilation error on some platforms (fix ticket #834).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4415 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/ConnectWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index 4bd2ffef..0c3dde27 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -388,7 +388,7 @@ ConnectWindow::gtk_callback()
_app->client()->signal_response().connect(
sigc::mem_fun(this, &ConnectWindow::ingen_response));
- _ping_id = abs(g_random_int());
+ _ping_id = g_random_int();
_app->interface()->set_response_id(_ping_id);
_app->interface()->get("ingen:engine");