summaryrefslogtreecommitdiff
path: root/lib/semihosting/semihosting.c
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>2019-04-01 11:25:21 +0100
committerGitHub <noreply@github.com>2019-04-01 11:25:21 +0100
commit18ff0b61bb205e01d2c4dba23f1be5fd1081c6b4 (patch)
tree2b9021e6c5debcaa07b7b561be48a9d1df882e33 /lib/semihosting/semihosting.c
parent9cadccdff382c2cfed9e5dd2f13c648f6c3f1eec (diff)
parent279faa6d5dbcc9f63ef1d5f5283119fc2452483c (diff)
Merge pull request #1886 from ambroise-arm/av/static-checks
Fix extra compilation warnings
Diffstat (limited to 'lib/semihosting/semihosting.c')
-rw-r--r--lib/semihosting/semihosting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/semihosting/semihosting.c b/lib/semihosting/semihosting.c
index ee48dbc1..051dd008 100644
--- a/lib/semihosting/semihosting.c
+++ b/lib/semihosting/semihosting.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -160,7 +160,7 @@ long semihosting_system(char *command_line)
long semihosting_get_flen(const char *file_name)
{
long file_handle;
- size_t length;
+ long length;
assert(semihosting_connection_supported());