]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5807 -- fix windows warnings
authorJeff Lenk <jeff@jefflenk.com>
Sat, 21 Sep 2013 21:13:48 +0000 (16:13 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 21 Sep 2013 21:13:48 +0000 (16:13 -0500)
src/include/switch_core.h
src/switch_core_file.c

index 8f029872811bfbe49733ea75faea0b4261cedefc..064ab563245f36a0c3d7ec881fd52a1dd60af033 100644 (file)
@@ -1751,7 +1751,7 @@ SWITCH_DECLARE(void) switch_core_db_test_reactive(switch_core_db_t *db, char *te
 SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, const char *func, int line,
                                                                                                                          _In_ switch_file_handle_t *fh,
                                                                                                                          _In_opt_z_ const char *file_path,
-                                                                                                                         _In_ uint8_t channels,
+                                                                                                                         _In_ uint32_t channels,
                                                                                                                          _In_ uint32_t rate, _In_ unsigned int flags, _In_opt_ switch_memory_pool_t *pool);
 
 /*! 
index bee78e26435e8c25f7d5e96dda695601445deaf3..4d6a0f7f197616d8a8b495f12c49554b95e7c314 100644 (file)
@@ -39,7 +39,7 @@
 SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, const char *func, int line,
                                                                                                                          switch_file_handle_t *fh,
                                                                                                                          const char *file_path,
-                                                                                                                         uint8_t channels, uint32_t rate, unsigned int flags, switch_memory_pool_t *pool)
+                                                                                                                         uint32_t channels, uint32_t rate, unsigned int flags, switch_memory_pool_t *pool)
 {
        char *ext;
        switch_status_t status = SWITCH_STATUS_FALSE;