From f39deb358934ef4e64e3ff8d592851bb83a3db7a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Oct 2011 09:14:29 +1100 Subject: [PATCH] GPS: fixed type to be consistent with declaration --- libraries/AP_GPS/GPS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_GPS/GPS.h b/libraries/AP_GPS/GPS.h index eeff6a5fad..045149f1ec 100644 --- a/libraries/AP_GPS/GPS.h +++ b/libraries/AP_GPS/GPS.h @@ -139,7 +139,7 @@ protected: /// @param bytes pointer to a buffer containing bytes representing an /// int in the wrong byte order /// @returns endian-swapped value - int _swapi(const void *bytes); + int16_t _swapi(const void *bytes); /// emit an error message ///