mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 15:42:28 -05:00
PDBox: Correcting two more warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22174 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
764b12fc1d
commit
7964b69635
1 changed files with 3 additions and 2 deletions
|
|
@ -90,7 +90,8 @@ void glist_delete(t_glist *x, t_gobj *y)
|
||||||
{
|
{
|
||||||
char tag[80];
|
char tag[80];
|
||||||
#ifdef ROCKBOX
|
#ifdef ROCKBOX
|
||||||
snprintf(tag, sizeof(tag), "graph%x", (int) gl);
|
snprintf(tag, sizeof(tag), "graph%lx",
|
||||||
|
(unsigned long) (intptr_t) gl);
|
||||||
#else /* ROCKBOX */
|
#else /* ROCKBOX */
|
||||||
sprintf(tag, "graph%x", (int)gl);
|
sprintf(tag, "graph%x", (int)gl);
|
||||||
#endif /* ROCKBOX */
|
#endif /* ROCKBOX */
|
||||||
|
|
@ -689,7 +690,7 @@ static void graph_vis(t_gobj *gr, t_glist *parent_glist, int vis)
|
||||||
rtext_erase(glist_findrtext(parent_glist, &x->gl_obj));
|
rtext_erase(glist_findrtext(parent_glist, &x->gl_obj));
|
||||||
|
|
||||||
#ifdef ROCKBOX
|
#ifdef ROCKBOX
|
||||||
snprintf(tag, sizeof(tag), "graph%x", (int) x);
|
snprintf(tag, sizeof(tag), "graph%lx", (unsigned long) (intptr_t) x);
|
||||||
#else
|
#else
|
||||||
sprintf(tag, "graph%x", (int)x);
|
sprintf(tag, "graph%x", (int)x);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue