From d5cf7650b6bcfa5d81321661fa300763660d31ab Mon Sep 17 00:00:00 2001 From: Michael McGeagh Date: Thu, 3 Dec 2020 13:53:56 +0000 Subject: vela: Modify CFLAGS for mlw_codec makefile Fix signed/unsigned warning Removed from README.md as it adds no value. The standalone tool is not expected to be used by customers. Signed-off-by: Michael McGeagh Change-Id: I09034478a14c37d30874d5182a096591dfdd6eb2 --- ethosu/mlw_codec/mlw_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ethosu/mlw_codec/mlw_main.c') diff --git a/ethosu/mlw_codec/mlw_main.c b/ethosu/mlw_codec/mlw_main.c index 9f720495..315c899d 100644 --- a/ethosu/mlw_codec/mlw_main.c +++ b/ethosu/mlw_codec/mlw_main.c @@ -132,7 +132,7 @@ int main(int argc, char *argv[]) if (!decode) { // Encode - int i, n = int16_format ? inbuf_size/sizeof(int16_t) : inbuf_size; + int i, n = int16_format ? inbuf_size/(int)sizeof(int16_t) : inbuf_size; int16_t *weights = malloc( n * sizeof(int16_t) ); for(i=0; i