gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-nim] branch master updated: fix compilation error


From: gnunet
Subject: [GNUnet-SVN] [gnunet-nim] branch master updated: fix compilation error
Date: Mon, 24 Jun 2019 13:38:42 +0200

This is an automated email from the git hooks/post-receive script.

lurchi pushed a commit to branch master
in repository gnunet-nim.

The following commit(s) were added to refs/heads/master by this push:
     new 2c3fac3  fix compilation error
2c3fac3 is described below

commit 2c3fac3ddfb57712b878d4ef59335c5c1505ac18
Author: lurchi <address@hidden>
AuthorDate: Mon Jun 24 13:37:41 2019 +0200

    fix compilation error
---
 src/gnunet_nim.nim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gnunet_nim.nim b/src/gnunet_nim.nim
index 1e87455..1d7982c 100644
--- a/src/gnunet_nim.nim
+++ b/src/gnunet_nim.nim
@@ -48,7 +48,7 @@ proc doWork*(app: ref GnunetApplication) =
   discard GNUNET_SCHEDULER_do_work(app.schedulerHandle) #FIXME: don't discard
 
 proc isAlive*(app: ref GnunetApplication): bool =
-  app.tasks.len() > 0 and app.timeoutUs > 0
+  app.tasks.len() > 0 and app.timeoutUs > 0'u64
 
 proc microsecondsUntilTimeout*(app: ref GnunetApplication): int =
   ## get the duration until timeout in microseconds

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]