Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 22 Aug 2012 02:50:36 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: 32bit os warnings

Claudio, magnum:

On 32bit system I am getting those warnings:

rar_fmt.c: In function 'check_huffman':
rar_fmt.c:861: warning: format '%lu' expects type 'long unsigned int',
but argument 3 has type 'int'
mozilla_fmt.c:282:2: warning: #warning Note: Mozilla format disabled,
un-comment HAVE_NSS in Makefile if you have NSS installed.
opencl_cryptsha256_fmt.c: In function 'find_best_gws':
opencl_cryptsha256_fmt.c:392: warning: integer constant is too large
for 'unsigned long' type
opencl_cryptsha256_fmt.c:397: warning: integer constant is too large
for 'unsigned long' type
opencl_rawsha512-ng_fmt.c: In function 'get_partial_binary':
opencl_rawsha512-ng_fmt.c:60: warning: left shift count >= width of type
opencl_rawsha512-ng_fmt.c:60: warning: left shift count >= width of type
opencl_rawsha512-ng_fmt.c:60: warning: right shift count >= width of type
opencl_rawsha512-ng_fmt.c:60: warning: right shift count >= width of type
opencl_rawsha512-ng_fmt.c:60: warning: integer constant is too large
for 'unsigned long' type
opencl_rawsha512-ng_fmt.c: In function 'find_best_gws':
opencl_rawsha512-ng_fmt.c:325: warning: integer constant is too large
for 'unsigned long' type
opencl_rawsha512-ng_fmt.c:330: warning: integer constant is too large
for 'unsigned long' type

We had similar warnings two weeks ago in Claudio's code, so I am not
fixing it to let you feel where the problems are and avoid them in the
future.
If you do not have access to 32bit os I can apply apply what you send
me and say if the problem gone.

Lukas

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ