Commit f674157f authored by Yushin Cho's avatar Yushin Cho

Fix compile warnings with inspector

Change-Id: I055c0f23f4edf71cb01b72e573f0949e53f72dd1
parent 058d0889
......@@ -20,7 +20,9 @@ extern "C" {
#include "av1/decoder/accounting.h"
#endif
#ifndef AOM_AOMDX_H_
typedef void (*aom_inspect_cb)(void *decoder, void *data);
#endif
typedef struct insp_mv insp_mv;
......
......@@ -332,7 +332,7 @@ int put_map(char *buffer, const map_entry *map) {
*(buf++) = ',';
}
}
return buf - buffer;
return (int)(buf - buffer);
}
int put_reference_frame(char *buffer) {
......@@ -370,7 +370,7 @@ int put_reference_frame(char *buffer) {
if (r < mi_rows - 1) *(buf++) = ',';
}
buf += put_str(buf, "],\n");
return buf - buffer;
return (int)(buf - buffer);
}
int put_motion_vectors(char *buffer) {
......@@ -409,7 +409,7 @@ int put_motion_vectors(char *buffer) {
if (r < mi_rows - 1) *(buf++) = ',';
}
buf += put_str(buf, "],\n");
return buf - buffer;
return (int)(buf - buffer);
}
int put_block_info(char *buffer, const map_entry *map, const char *name,
......@@ -449,7 +449,7 @@ int put_block_info(char *buffer, const map_entry *map, const char *name,
if (r < mi_rows - 1) *(buf++) = ',';
}
buf += put_str(buf, "],\n");
return buf - buffer;
return (int)(buf - buffer);
}
#if CONFIG_ACCOUNTING
......@@ -489,7 +489,7 @@ int put_accounting(char *buffer) {
if (i < num_syms - 1) *(buf++) = ',';
}
buf += put_str(buf, "],\n");
return buf - buffer;
return (int)(buf - buffer);
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment