[hamradio-commits] [dump1090] 60/389: Type Conversion required when using --file

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit 8ba18ebcdb2dfdcee482ece28361075caad91c28
Author: Malcolm Robb <Support at ATTAvionics.com>
Date:   Mon Apr 8 18:25:11 2013 +0100

    Type Conversion required when using --file
---
 dump1090.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dump1090.c b/dump1090.c
index c962816..323de38 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -445,7 +445,7 @@ void readDataFromFile(void) {
         }
 
         toread = MODES_ASYNC_BUF_SIZE;
-        p = Modes.data;
+        p = (unsigned char *) Modes.data;
         while(toread) {
             nread = read(Modes.fd, p, toread);
             if (nread <= 0) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list