From 00f822e00c0bfc01918cfb1aeb9d98f9e538c01b Mon Sep 17 00:00:00 2001 From: Ariel Elkin Date: Thu, 27 Feb 2014 01:08:45 +0000 Subject: [PATCH] explicitly cast return value in frames() to match return type --- include/Stk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Stk.h b/include/Stk.h index 5c9c37b..d5bf1b2 100644 --- a/include/Stk.h +++ b/include/Stk.h @@ -376,7 +376,7 @@ public: unsigned int channels( void ) const { return nChannels_; }; //! Return the number of sample frames represented by the data. - unsigned int frames( void ) const { return nFrames_; }; + unsigned int frames( void ) const { return (unsigned int)nFrames_; }; //! Set the sample rate associated with the StkFrames data. /*!