stk: Fix sizeof on memcpy
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 22 May 2013 23:01:47 +0000 (20:01 -0300)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 23 May 2013 02:37:52 +0000 (21:37 -0500)
commit874a9ee2850b9b295f5ee7d441e97115f5997acc
treee1f0cd85259b8be57a10419118533472ab05cddf
parent1c75edf59aeeafd75dd531e076cdbdccd8150bf6
stk: Fix sizeof on memcpy

src/stk.c: In function ‘__ofono_cbs_sim_download’:
src/stk.c:283:45: error: argument to ‘sizeof’ in ‘memcpy’ call is the
same expression as the source; did you mean to dereference it?
[-Werror=sizeof-pointer-memaccess]
  memcpy(&e.cbs_pp_download.page, msg, sizeof(msg));
                                               ^
src/stk.c