mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #500] linux-x86-native build, warning in luks2john.c #204
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frank-dittrich on GitHub (Feb 9, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/500
$ make clean > /dev/null; make linux-x86-native > /dev/null
...
luks2john.c: In function ‘hash_plugin_parse_hash’:
luks2john.c:149:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
printf("$luks$1$%lu$", sizeof(myphdr));
s/sizeof(myphdr)/(long unsigned int) sizeof(myphdr)/ should work here.
@magnumripper commented on GitHub (Feb 9, 2014):
%zuwill work too[GH-ISSUE #500] linux-x86-native build, warning in luks2john.cto [GH-ISSUE #500] linux-x86-native build, warning in luks2john.c