Commit 65c0d791 authored by Christopher Chavez's avatar Christopher Chavez

Use GLib fixed-width types

…instead of C99 fixed-width types

Fixes: #168
parent e4a843c9
Pipeline #214466 passed with stage
in 5 minutes and 30 seconds
......@@ -238,10 +238,10 @@ flatpak_get_arch (void)
}
/* From https://github.com/flatpak/flatpak/blob/master/common/flatpak-run.c */
static const uint32_t seccomp_x86_64_extra_arches[] = { SCMP_ARCH_X86, 0, };
static const guint32 seccomp_x86_64_extra_arches[] = { SCMP_ARCH_X86, 0, };
#ifdef SCMP_ARCH_AARCH64
static const uint32_t seccomp_aarch64_extra_arches[] = { SCMP_ARCH_ARM, 0 };
static const guint32 seccomp_aarch64_extra_arches[] = { SCMP_ARCH_ARM, 0 };
#endif
static inline void
......@@ -379,8 +379,8 @@ setup_seccomp (GPtrArray *argv_array,
if (arch != NULL)
{
uint32_t arch_id = 0;
const uint32_t *extra_arches = NULL;
guint32 arch_id = 0;
const guint32 *extra_arches = NULL;
if (strcmp (arch, "i386") == 0)
{
......
......@@ -75,7 +75,7 @@ typedef struct {
* Conversion matrix in S31.32 sign-magnitude (not two's complement!)
* format.
*/
uint64_t matrix[9];
guint64 matrix[9];
} GnomeRRCTM;
/* Error codes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment