Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler warning from Actions::process_json_command() #1875

Open
mcrha opened this issue Nov 20, 2024 · 0 comments
Open

Compiler warning from Actions::process_json_command() #1875

mcrha opened this issue Nov 20, 2024 · 0 comments

Comments

@mcrha
Copy link
Contributor

mcrha commented Nov 20, 2024

I face of the below compiler warning and as you error on warnings... ;) I suppoose I have enabled more compiler warnings than you.

.../libdnf5-plugins/actions/actions.cpp: In member function ‘void {anonymous}::Actions::process_json_command(const {anonymous}::CommandToRun&, json_object*, int)’:
.../libdnf5-plugins/actions/actions.cpp:1306:53: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
 1306 |                             requested_attrs |= 1 << idx;
      |                                                     ^~~
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

No branches or pull requests

1 participant