]> granicus.if.org Git - nethack/commit
win32 vs random.c
authornethack.rankin <nethack.rankin>
Sun, 23 Dec 2007 00:59:25 +0000 (00:59 +0000)
committernethack.rankin <nethack.rankin>
Sun, 23 Dec 2007 00:59:25 +0000 (00:59 +0000)
commit9c3f6f78b9379084efa4bffad57f9cbc6214680a
treebcff884ac55e467016715d5207f0869219a008be
parentd0a7d150230b48c604f86aa39e18e6cdfe389675
win32 vs random.c

     From a bug report.
Pointer subtraction yields a result of type ptrdiff_t which can be
bigger than type long, potentially resulting in warnings about value
truncation--in these cases, when assigning to a long.
sys/share/random.c