]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
The argument to rand_r is an unsigned int*, not an int*
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Aug 2004 18:48:34 +0000 (18:48 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Aug 2004 18:48:34 +0000 (18:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@9587 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index 073a004d765e08d16aaea86c9c6bdcf148dfa58f..1c3e032ef4ac40f2bf2a810e7ef4e33f591fe3f6 100644 (file)
@@ -1965,7 +1965,7 @@ AC_DEFUN(DEAL_II_CHECK_RAND_R, dnl
 #include <cstdlib>
        ],
        [
-int seed = 0;
+unsigned int seed = 0;
 int i=rand_r(&i);
        ],
        [

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.