[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-277-g05a35cb
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2014-06-13 16:10:13
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 05a35cba698c2c7a7d04ceb01217465b10eaf480 (commit)
from 30d0a009be4caa37ac33b25d368d30aafbff2ecf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 05a35cba698c2c7a7d04ceb01217465b10eaf480
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jun 13 18:09:19 2014 +0200
[DEBUG] fpgaregs: fixes bug introduced by previous commit (g++ warning removal)
-----------------------------------------------------------------------
Summary of changes:
target/linux/debug/fpgaregs/fpgaregs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/debug/fpgaregs/fpgaregs.c b/target/linux/debug/fpgaregs/fpgaregs.c
index 9b72918..d8ac89c 100644
--- a/target/linux/debug/fpgaregs/fpgaregs.c
+++ b/target/linux/debug/fpgaregs/fpgaregs.c
@@ -116,17 +116,17 @@ int main(int argc, char *argv[])
if (argc == 4) {
value = strtoul(argv[3], (char **)NULL, 16);
if (accesstype == WORD_ACCESS)
- *((unsigned short*)ptr_fpga + address) = (unsigned short)value;
+ *((unsigned short*)(ptr_fpga + address)) = (unsigned short)value;
else
- *((unsigned int*)ptr_fpga + address) = (unsigned int)value;
+ *((unsigned int*)(ptr_fpga + address)) = (unsigned int)value;
displayResult("Write", accesstype, value, address);
/* read at given address */
} else if (argc == 3) {
if (accesstype == WORD_ACCESS)
- value = *((unsigned short*)ptr_fpga + address);
+ value = *((unsigned short*)(ptr_fpga + address));
else
- value = *((unsigned int*)ptr_fpga + address);
+ value = *((unsigned int*)(ptr_fpga + address));
displayResult("Read", accesstype, value, address);
}
hooks/post-receive
--
armadeus
|