efm ipc - fix unaligned int read on ipc decode

warning was right - this is an unaligned read. fix.
devs/bu5hm4n/luncher_verbose
Carsten Haitzler 6 years ago
parent 9c984ea9cf
commit 16131b14f0
  1. 2
      src/bin/e_fm/e_fm_ipc.c

@ -718,7 +718,7 @@ _e_fm_ipc_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *eve
relative = p;
p += strlen(relative) + 1;
after = *((int *)p);
memcpy(&after, p, sizeof(int));
_e_fm_ipc_reorder(file, dst, relative, after);
}

Loading…
Cancel
Save