Skip to content

Commit

Permalink
Fix some build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Mar 14, 2018
1 parent 499c73b commit 76034e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ LIB=${BUILDDIR}/libmovian
include ${BUILDDIR}/config.mak

CFLAGS_std += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations \
-Wmissing-prototypes -Wno-multichar -Iext/dvd -std=gnu99
-Wmissing-prototypes -Wno-multichar -Iext/dvd -std=gnu99 \
-Wno-error=format-truncation

CFLAGS = ${CFLAGS_std} ${OPTFLAGS}

Expand Down
1 change: 1 addition & 0 deletions src/blobcache_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <limits.h>

#include "main.h"
#include "blobcache.h"
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ typedef struct gconf {

char device_id[64];

char os_info[128];
char os_info[256];

char lang[32];

Expand Down
2 changes: 1 addition & 1 deletion src/upgrade.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
static HTS_MUTEX_DECL(upgrade_mutex);

static const char *ctrlbase = "https://upgrade.movian.tv/upgrade/3";
static const char *artifact_type;
const char *artifact_type;
static const char *archname;

static prop_t *upgrade_root;
Expand Down

0 comments on commit 76034e2

Please sign in to comment.