diff --git a/include/asterisk/format_pref.h b/include/asterisk/format_pref.h
index 73a0bdc45231450c4ebffdaf47b21ff48c248a23..b034c18be7522bf969e903ac4c086fb007c2f89c 100644
--- a/include/asterisk/format_pref.h
+++ b/include/asterisk/format_pref.h
@@ -34,7 +34,7 @@ struct ast_codec_pref {
 	/*! This array represents the format id's index in the global format list. */
 	char order[AST_CODEC_PREF_SIZE];
 	/*! This array represents the format's framing size if present. */
-	char framing[AST_CODEC_PREF_SIZE];
+	int framing[AST_CODEC_PREF_SIZE];
 };
 
 /*! \page AudioCodecPref Audio Codec Preferences