From acfe9b7793f2b5bd94d45098d0ba27bb123f9cf0 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Fri, 4 Jul 2014 15:49:07 +0100 Subject: [PATCH] Blink-IO.cpp: use mraa_result_t instead of int Signed-off-by: Brendan Le Foll --- examples/c++/Blink-IO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c++/Blink-IO.cpp b/examples/c++/Blink-IO.cpp index 757bd6a..9ee1017 100644 --- a/examples/c++/Blink-IO.cpp +++ b/examples/c++/Blink-IO.cpp @@ -59,7 +59,7 @@ int main (int argc, char **argv) if (gpio == NULL) { return MRAA_ERROR_UNSPECIFIED; } - int response = gpio->dir(mraa::DIR_OUT); + mraa_result_t response = gpio->dir(mraa::DIR_OUT); if (response != MRAA_SUCCESS) { mraa::printError(response); return 1; -- 2.7.4