diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-01-13 05:32:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-01-13 05:32:58 -0600 |
commit | 779eb9804b48186f1ecbae2806f907b778437a22 (patch) | |
tree | a25bcf400bc95439ee6689dc0cab7d9ca041a086 /servers/fpga_server_lin/src | |
parent | e32d9c17674f45bf63ca004e6ba8a79fffcb1701 (diff) | |
download | ulab-779eb9804b48186f1ecbae2806f907b778437a22.tar.gz ulab-779eb9804b48186f1ecbae2806f907b778437a22.zip |
Fix FPGA server FTBFS on amd64
Diffstat (limited to 'servers/fpga_server_lin/src')
-rw-r--r-- | servers/fpga_server_lin/src/bbb-gpmc-init.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/fpga_server_lin/src/bbb-gpmc-init.cpp b/servers/fpga_server_lin/src/bbb-gpmc-init.cpp index 4490746..ac6b1b6 100644 --- a/servers/fpga_server_lin/src/bbb-gpmc-init.cpp +++ b/servers/fpga_server_lin/src/bbb-gpmc-init.cpp @@ -82,7 +82,7 @@ void gpmc_mapregisters() { ); if (gpmc_map == MAP_FAILED) { - printf("[FATAL] mmap error %d\n", (int)gpmc_map); + printf("[FATAL] mmap error %p\n", gpmc_map); return; } @@ -148,7 +148,7 @@ int setup_gpmc_bbb(void) { ); if (gpio_map == MAP_FAILED) { - printf("[FATAL] mmap error %d\n", (int)gpio_map); + printf("[FATAL] mmap error %p\n", gpio_map); return -1; } @@ -197,4 +197,4 @@ void memcpy_to_gpmc(char* source, unsigned int register_offset, unsigned int len } } -/** END: Low-Level I/O Implementation **/
\ No newline at end of file +/** END: Low-Level I/O Implementation **/ |