forked from len0rd/rockbox
Fix last two yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25863 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ca52f94184
commit
65b875b83e
2 changed files with 2 additions and 2 deletions
|
@ -3657,7 +3657,7 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
return PLUGIN_OK;
|
return PLUGIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
plug_buf = rb->plugin_get_buffer(&buf_size);
|
plug_buf = rb->plugin_get_buffer((size_t *)&buf_size);
|
||||||
if (buf_size < 6700) /* needed for i2c transfer */
|
if (buf_size < 6700) /* needed for i2c transfer */
|
||||||
{
|
{
|
||||||
rb->splash(HZ, "Out of memory.");
|
rb->splash(HZ, "Out of memory.");
|
||||||
|
|
|
@ -3757,7 +3757,7 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
|
|
||||||
plug_buf = rb->plugin_get_buffer(&buf_size);
|
plug_buf = rb->plugin_get_buffer((size_t *)&buf_size);
|
||||||
if (buf_size < 6700) /* needed for i2c transfer */
|
if (buf_size < 6700) /* needed for i2c transfer */
|
||||||
{
|
{
|
||||||
rb->splash(HZ, "Out of memory.");
|
rb->splash(HZ, "Out of memory.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue