mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
fix type used with content_get_source_data()
This commit is contained in:
parent
35bc2ccbb8
commit
d27027d4ba
@ -790,7 +790,7 @@ void nsbeos_gui_poll(void)
|
||||
if (len == sizeof(void *)) {
|
||||
NSLOG(netsurf, DEEPDEBUG,
|
||||
"gui_poll: BMessage.what %-4.4s\n",
|
||||
&(message->what));
|
||||
(char *)&(message->what));
|
||||
nsbeos_dispatch_event(message);
|
||||
}
|
||||
}
|
||||
@ -834,7 +834,9 @@ void nsbeos_gui_view_source(struct hlcache_handle *content)
|
||||
BPath path;
|
||||
status_t err;
|
||||
size_t size;
|
||||
const char *source = content_get_source_data(content, &size);
|
||||
const uint8_t *source;
|
||||
|
||||
source = content_get_source_data(content, &size);
|
||||
|
||||
if (!content || !source) {
|
||||
beos_warn_user("MiscError", "No document source");
|
||||
|
Loading…
Reference in New Issue
Block a user