Skip to content

Commit

Permalink
Fix a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
sesse committed Oct 6, 2012
1 parent 5aae676 commit 6c79a9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion effect_chain.cpp
Expand Up @@ -36,7 +36,7 @@ EffectChain::EffectChain(unsigned width, unsigned height)
Input *EffectChain::add_input(const ImageFormat &format)
{
char eff_id[256];
sprintf(eff_id, "src_image%d", inputs.size());
sprintf(eff_id, "src_image%u", (unsigned)inputs.size());

Input *input = new Input(format, width, height);
effects.push_back(input);
Expand Down
26 changes: 0 additions & 26 deletions effect_id.h

This file was deleted.

0 comments on commit 6c79a9e

Please sign in to comment.