mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -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];
|
||||
#ifdef ROCKBOX
|
||||
snprintf(tag, sizeof(tag), "graph%x", (int) gl);
|
||||
snprintf(tag, sizeof(tag), "graph%lx",
|
||||
(unsigned long) (intptr_t) gl);
|
||||
#else /* ROCKBOX */
|
||||
sprintf(tag, "graph%x", (int)gl);
|
||||
#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));
|
||||
|
||||
#ifdef ROCKBOX
|
||||
snprintf(tag, sizeof(tag), "graph%x", (int) x);
|
||||
snprintf(tag, sizeof(tag), "graph%lx", (unsigned long) (intptr_t) x);
|
||||
#else
|
||||
sprintf(tag, "graph%x", (int)x);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue