summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/decode.c2
-rw-r--r--src/utime.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/decode.c b/src/decode.c
index 92b0657..eeefa87 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -520,7 +520,7 @@ static int m_zero_block(struct aec_stream *strm)
if (zero_blocks == ROS) {
int b = (int)RSI_USED_SIZE(state) / strm->block_size;
- zero_blocks = MIN(strm->rsi - b, 64 - (b % 64));
+ zero_blocks = MIN((int)(strm->rsi - b), 64 - (b % 64));
} else if (zero_blocks > ROS) {
zero_blocks--;
}
diff --git a/src/utime.c b/src/utime.c
index 95263fc..772bb76 100644
--- a/src/utime.c
+++ b/src/utime.c
@@ -67,7 +67,8 @@ run_cmd(int argc, char *argv[]);
int main(int argc, char **argv)
{
struct timeval utime = { .tv_sec = 0, .tv_usec = 0 };
- int status, rstatus;
+ int rstatus;
+ int status = 0;
if (argc > 1 && ((status = run_cmd(argc - 1, argv + 1)) >= 0))
{
struct rusage usage;
@@ -120,4 +121,3 @@ run_cmd(int argc, char *argv[])
}
return status;
}
-