summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/format.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/format/format.c b/src/format/format.c
index 0cebc98..045bc92 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -360,7 +360,11 @@ FormatFlag g_binary_format_get_flags(const GBinFormat *format)
SourceEndian g_binary_format_get_endianness(const GBinFormat *format)
{
- return G_BIN_FORMAT_GET_CLASS(format)->get_endian(format);
+ SourceEndian result; /* Boutisme à retourner */
+
+ result = G_BIN_FORMAT_GET_CLASS(format)->get_endian(format);
+
+ return result;
}