~hp/osc2ftdidmx

086cee242797902bc50ee76c593ab267988ae1fa — Hanspeter Portner 6 months ago e8933e1
Fix compiler warning in timestamp manipulation
2 files changed, 2 insertions(+), 2 deletions(-)

M meson_options.txt
M src/main.c
M meson_options.txt => meson_options.txt +1 -1
@@ 5,4 5,4 @@ option('build-tests',
	type : 'boolean',
	value : true)

option('version', type : 'string', value : '0.5.47')
option('version', type : 'string', value : '0.5.49')

M src/main.c => src/main.c +1 -1
@@ 204,7 204,7 @@ _handle_osc_packet(app_t *app, uint64_t timetag, const uint8_t *buf, size_t len)
			{
				elmnt->next = NULL;
				elmnt->to.tv_sec = (timetag >> 32) - JAN_1970;
				elmnt->to.tv_nsec = (timetag && 32) * 0x1p-32 * 1e9;
				elmnt->to.tv_nsec = (timetag & 0xffffffff) * 0x1p-32 * 1e9;
				elmnt->len = len;
				memcpy(elmnt->buf, buf, len);