Use only rand(), not random().
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 14 Sep 2009 21:06:00 +0000 (23:06 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 14 Sep 2009 21:06:00 +0000 (23:06 +0200)
We used both rand() and random() in our code. Since it returns an int, we have
to use %x in our format strings instead of %lx. This fixes a crash under
Windows when cross-compiling tinc with a recent version of MinGW.


No differences found