mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/base64: fix variableScope
This commit is contained in:
parent
39ecc12d9d
commit
1e8d768701
@ -83,9 +83,9 @@ int base64_encode(unsigned char *data_in, size_t data_in_size, \
|
||||
unsigned char nNum = 0;
|
||||
int nLst = 0;
|
||||
int njump = 0;
|
||||
unsigned char tmpval;
|
||||
|
||||
for (int i = 0; i < (int)(data_in_size); ++i) {
|
||||
unsigned char tmpval;
|
||||
njump++;
|
||||
tmpval = *(data_in + i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user