summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/sprite.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-05-05 22:46:40 +0100
committerVincent Sanders <vince@kyllikki.org>2019-05-05 22:50:25 +0100
commit35bc2ccbb89a6b499e0e3b6f7095afea214f0c59 (patch)
treecd494ae1e33ab55d0e644d11eb973ddde4decbb6 /frontends/riscos/content-handlers/sprite.c
parentf966580d22d47ab97bceb2f067fc2b9402af01b7 (diff)
downloadnetsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.gz
netsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.bz2
change content get_source_data interfaces to return uint8_t and size_t
previously these interfaces returned char * and unsigned int which was undesirable.
Diffstat (limited to 'frontends/riscos/content-handlers/sprite.c')
-rw-r--r--frontends/riscos/content-handlers/sprite.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontends/riscos/content-handlers/sprite.c b/frontends/riscos/content-handlers/sprite.c
index 3556aa555..650d8e9aa 100644
--- a/frontends/riscos/content-handlers/sprite.c
+++ b/frontends/riscos/content-handlers/sprite.c
@@ -16,7 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
+/**
+ * \file
* Content for image/x-riscos-sprite (RISC OS implementation).
*
* No conversion is necessary: we can render RISC OS sprites directly under
@@ -112,8 +113,8 @@ bool sprite_convert(struct content *c)
os_error *error;
int w, h;
union content_msg_data msg_data;
- const char *source_data;
- unsigned long source_size;
+ const uint8_t *source_data;
+ size_t source_size;
const void *sprite_data;
char *title;