projects
/
xicursorset.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
b2cd5ca
)
Fix a warning from clang about an implicit conversion
author
Antonio Ospite <ao2@ao2.it>
Fri, 23 Jun 2017 14:38:24 +0000
(16:38 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 23 Jun 2017 14:38:24 +0000
(16:38 +0200)
xicursorset.c:84:32: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
image = XcursorShapeLoadImage(shape, theme, size);
~~~~~~~~~~~~~~~~~~~~~ ^~~~~
The casting is safe because at that point in the code the value is
guaranteed to be non-negative.
No differences found