Module: xenomai-3
Branch: master
Commit: 63faa6211f7884423f810dcbeed848e97685bdf9
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=63faa6211f7884423f810dcbeed848e97685bdf9

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Nov  8 20:52:01 2014 +0100

utils/autotune: fix signedness issue after type promotion (gcc 4.x/ppc64)

---

 utils/autotune/autotune.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/autotune/autotune.c b/utils/autotune/autotune.c
index fe2f621..1cce8db 100644
--- a/utils/autotune/autotune.c
+++ b/utils/autotune/autotune.c
@@ -203,7 +203,7 @@ static void usage(void)
        fprintf(stderr, "if no option is given, tune for all contexts using the 
default period.\n");
 }
 
-static void run_tuner(int fd, int op, int period, const char *type)
+static void run_tuner(int fd, unsigned int op, int period, const char *type)
 {
        struct autotune_setup setup;
        pthread_t sampler;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to