Skip to content

Commit

Permalink
extra/scanlzma: Fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Larhzu committed Apr 29, 2018
1 parent c5c7ceb commit cee3021
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extra/scanlzma/scanlzma.c
Expand Up @@ -37,6 +37,10 @@
/* 5 8 Uncompressed size (little endian). -1 means unknown size */
/* 13 Compressed data */

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#define BUFSIZE 4096

int find_lzma_header(unsigned char *buf) {
Expand All @@ -48,7 +52,7 @@ int find_lzma_header(unsigned char *buf) {
}

int main(int argc, char *argv[]) {
char buf[BUFSIZE];
unsigned char buf[BUFSIZE];
int ret, i, numlzma, blocks=0;

if (argc != 2) {
Expand Down

0 comments on commit cee3021

Please sign in to comment.