Author: pfg
Date: Mon Feb  8 20:03:14 2016
New Revision: 295410
URL: https://svnweb.freebsd.org/changeset/base/295410

Log:
  ficl: Replace rand(3) with random(3).
  
  Be a little more consistent with random(3) and push an
  unsigned value.
  
  Again, this has no effect as this code doesn't get compiled
  for the boot code.

Modified:
  head/sys/boot/ficl/words.c

Modified: head/sys/boot/ficl/words.c
==============================================================================
--- head/sys/boot/ficl/words.c  Mon Feb  8 19:45:55 2016        (r295409)
+++ head/sys/boot/ficl/words.c  Mon Feb  8 20:03:14 2016        (r295410)
@@ -4822,7 +4822,7 @@ WORDKIND ficlWordClassify(FICL_WORD *pFW
 **************************************************************************/
 static void ficlRandom(FICL_VM *pVM)
 {
-    PUSHINT(random());
+    PUSHUNS(random());
 }
 
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to