diff options
author | Vasili Galka <vvv444@gmail.com> | 2014-08-26 13:46:17 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-15 13:32:56 -0400 |
commit | 9f680d2d978a9ab488b210ceeb90354308a0b750 (patch) | |
tree | ff2f50b33b54b82f42079905f8b98f09990f3042 /drivers/mtd/ubi/build.c | |
parent | 5d69a5d178a1fc3874b8d18e5be3e520f6acaca5 (diff) |
openrisc: Fix a few type cast related warnings
Use size_t type for positive offsets instead of the loff_t type. The
later is defined as long long, which is larger than the pointer type
on OpenRISC architecture and therefore the following warning was
generated:
"warning: cast to pointer from integer of different size"
Signed-off-by: Vasili Galka <vvv444@gmail.com>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
0 files changed, 0 insertions, 0 deletions