wmutils / core

Set of window manipulation tools
Other
714 stars 33 forks source link

watter.c: Use size_t to silence a compiler warning #6

Closed algernon closed 9 years ago

algernon commented 9 years ago

When compiled with -Wextra (or -Wsign-compare), we get a warning, because strlen() returns size_t (usually unsigned), not int. Just use a size_t to avoid that.

z3bra commented 9 years ago

Thanks for the fix. 'c' should remain an int though. I'll fix it after the merge.