Skip to content

Fix build with clang 15+#48

Merged
vapier merged 2 commits intocracklib:masterfrom
kraj:master
Aug 7, 2022
Merged

Fix build with clang 15+#48
vapier merged 2 commits intocracklib:masterfrom
kraj:master

Conversation

@kraj
Copy link
Copy Markdown
Contributor

@kraj kraj commented Aug 7, 2022

No description provided.

kraj added 2 commits August 7, 2022 12:31
It helps in typcasting the variables
This is also deprecated in C++

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
src/lib/rules.c:346:45: error: incompatible integer to pointer conversion passing 'char' to parameter of type 'char *'; take the address with & [-Wint-conversion]
src/lib/rules.c:804:53: error: incompatible integer to pointer conversion passing 'char' to parameter of type 'char *'; remove * [-Wint-conversion]                                           Debug(1, "Mangle: unknown command %c in %s\n", *ptr, control);
                                                           ^~~~
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
@vapier vapier merged commit bdb3aee into cracklib:master Aug 7, 2022
@vapier
Copy link
Copy Markdown
Contributor

vapier commented Aug 7, 2022

thx bud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants