Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 12 Aug 2012 03:17:38 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: sha512crypt-opencl warnings

On 2012-08-11 23:39, Lukas Odzioba wrote:
> On 32bit OS I am getting this:
> opencl_cryptsha512_fmt.c: In function 'find_best_gws':
> opencl_cryptsha512_fmt.c:419: warning: integer constant is too large
> for 'unsigned long' type
> opencl_cryptsha512_fmt.c:424: warning: integer constant is too large
> for 'unsigned long' type
> 
> Affected lines:
> if (run_time > 10000000000UL) {
> if (run_time > min_time * 10 || run_time > 10000000000UL)
> 
> run_time type is cl_ulong;
> sizeof cl_ulong = 8
> 
> s/10000000000UL/10000000000ULL/ fixes the problem.

Thanks, I committed this in your name.

magnum


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.