[libdrm][PATCH 1/2] random: Use unsigned long for seed

2015-02-09 Thread Jan Vesely
On Mon, 2015-02-09 at 15:11 -0800, Ian Romanick wrote: > On 02/09/2015 01:39 PM, Jan Vesely wrote: > > This is more consistent with the rest, and avoids potential undefined > > behavior (signed overflow) in drmRandom() > > > > Signed-off-by: Jan Vesely > > --- > > xf86drmRandom.c | 14 +++---

[libdrm][PATCH 1/2] random: Use unsigned long for seed

2015-02-09 Thread Jan Vesely
This is more consistent with the rest, and avoids potential undefined behavior (signed overflow) in drmRandom() Signed-off-by: Jan Vesely --- xf86drmRandom.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xf86drmRandom.c b/xf86drmRandom.c index ecab9e2..a084b8

[libdrm][PATCH 1/2] random: Use unsigned long for seed

2015-02-09 Thread Ian Romanick
On 02/09/2015 01:39 PM, Jan Vesely wrote: > This is more consistent with the rest, and avoids potential undefined > behavior (signed overflow) in drmRandom() > > Signed-off-by: Jan Vesely > --- > xf86drmRandom.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --g