Commit b9c71696 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

property.h: fix declaration of prop_deliver

(first argument is a pointer to the property, unlike prop_request_change)

--HG--
branch : lua_fix
parent 609d604bb8fe
......@@ -985,7 +985,7 @@ static const char* get_audio_input_string()
static void audio_monitoring_force_display(int x)
{
#ifdef HOTPLUG_VIDEO_OUT_PROP_DELIVER_ADDR
prop_deliver(*(int*)(HOTPLUG_VIDEO_OUT_PROP_DELIVER_ADDR), &x, 4, 0x0);
prop_deliver(*(uint32_t **)(HOTPLUG_VIDEO_OUT_PROP_DELIVER_ADDR), &x, 4, 0x0);
#endif
}
......
......@@ -574,7 +574,7 @@ int prop_request_change_wait(unsigned property, const void* addr, size_t len, in
extern void
prop_deliver(
uint32_t prop,
uint32_t * prop,
void * buf,
size_t len,
uint32_t mzb
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment