diff options
author | cbdev <cb@cbcdn.com> | 2018-02-24 05:56:00 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2018-02-24 05:56:00 +0100 |
commit | b233677fc9cef697b1cbfad3636a4fe7338274a0 (patch) | |
tree | eefc7267166d46a810d1287d38f141dd114ea77c | |
parent | 2deebf9056528ef6d12cbbd0b56411741676a062 (diff) | |
download | midimonster-b233677fc9cef697b1cbfad3636a4fe7338274a0.tar.gz midimonster-b233677fc9cef697b1cbfad3636a4fe7338274a0.tar.bz2 midimonster-b233677fc9cef697b1cbfad3636a4fe7338274a0.zip |
Fix pedantic warnings
-rw-r--r-- | artnet.c | 2 | ||||
-rw-r--r-- | plugin.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -320,7 +320,7 @@ static int artnet_set(instance* inst, size_t num, channel** c, channel_value* v) .universe = data->uni, .net = data->net, .length = htobe16(512), - .data = {} + .data = {0} }; memcpy(frame.data, data->data.out, 512); @@ -30,7 +30,7 @@ static int plugin_attach(char* path, char* file){ return 0; } - init = dlsym(handle, "init"); + init = (plugin_init) dlsym(handle, "init"); if(init){ if(init()){ fprintf(stderr, "Plugin %s failed to initialize\n", lib); |