[vlc-commits] commit: Really fix PRNG return value descriptions ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Jul 28 16:31:45 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 28 17:31:28 2010 +0300| [f6f5286adf9ac757790f6b60a6693d3973f03344] | committer: Rémi Denis-Courmont 

Really fix PRNG return value descriptions

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6f5286adf9ac757790f6b60a6693d3973f03344
---

 src/misc/rand.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/misc/rand.c b/src/misc/rand.c
index 14e2b9e..82c67c3 100644
--- a/src/misc/rand.c
+++ b/src/misc/rand.c
@@ -210,7 +210,7 @@ double vlc_drand48 (void)
  * @warning Series generated by this function are not reproducible.
  * Use nrand48() if you need reproducible series.
  *
- * @return a double value within [0.0, 2^32-1] inclusive
+ * @return an integral value within [0.0, 2^32-1] inclusive
  */
 long vlc_lrand48 (void)
 {
@@ -230,7 +230,7 @@ long vlc_lrand48 (void)
  * @warning Series generated by this function are not reproducible.
  * Use jrand48() if you need reproducible series.
  *
- * @return a double value within [-2^32, 2^32-1] inclusive
+ * @return an integral value within [-2^32, 2^32-1] inclusive
  */
 long vlc_mrand48 (void)
 {



More information about the vlc-commits mailing list