mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
src/system/mtdutils: Fix compiler warnings
Origin commit data
------------------
Commit: db59b7d3f1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-15 (Tue, 15 Oct 2013)
This commit is contained in:
@@ -27,13 +27,14 @@ static int jffs2_rtime_compress(unsigned char *data_in, unsigned char *cpage_out
|
||||
uint32_t *sourcelen, uint32_t *dstlen)
|
||||
{
|
||||
short positions[256];
|
||||
int outpos = 0;
|
||||
int pos=0;
|
||||
uint32_t outpos = 0;
|
||||
uint32_t pos=0;
|
||||
|
||||
memset(positions,0,sizeof(positions));
|
||||
|
||||
while (pos < (*sourcelen) && outpos+2 <= (*dstlen)) {
|
||||
int backpos, runlen=0;
|
||||
uint32_t backpos;
|
||||
int runlen=0;
|
||||
unsigned char value;
|
||||
|
||||
value = data_in[pos];
|
||||
|
Reference in New Issue
Block a user