projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
35e87b9
)
Use only rand(), not random().
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 14 Sep 2009 21:06:00 +0000
(23:06 +0200)
committer
Guus 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