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

--gracetime isn't passed along to slop properly #7

Closed
ben0x539 opened this issue Oct 16, 2014 · 1 comment
Closed

--gracetime isn't passed along to slop properly #7

ben0x539 opened this issue Oct 16, 2014 · 1 comment

Comments

@ben0x539
Copy link

As gcc pointed out:

main.cpp:140:53: warning: format ‘%i’ expects argument of type ‘int’, but argument 7 has type ‘char*’ [-Wformat]

This has the effect of passing the pointer's numeric value to slop, resulting in an invocation like slop -b 5 -p 0 -t 2 -g 32358608 -c 0.5,0.5,0.5,1 --min=0 --max=0

I tried to address this in #5 but that approach introduces other issues, so I'm not sure what the preferred fix would be.

@naelstrof
Copy link
Owner

Haha thanks I didn't notice, my gcc's warnings must be suppressed somehow. It's fixed with f1c7a89.

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

2 participants