View | Details | Raw Unified | Return to bug 196124
Collapse All | Expand All

(-)lang/urweb/files/patch-src__c__urweb.c (+11 lines)
Line 0 Link Here
1
--- src/c/urweb.c.orig	2014-07-04 15:32:47.000000000 +0200
2
+++ src/c/urweb.c	2014-12-19 01:22:02.000000000 +0100
3
@@ -4204,7 +4204,7 @@ uw_Basis_int uw_Basis_rand(uw_context ct
4
   pthread_mutex_unlock(&rand_mutex);
5
 
6
   if (r)
7
-    return abs(ret);
8
+    return llabs(ret);
9
   else
10
     uw_error(ctx, FATAL, "Random number generation failed");
11
 }

Return to bug 196124