From ada9b13857a7251a9d0b967200a65e4e3a49b4a4 Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Mon, 22 May 2023 19:04:25 +0200 Subject: [PATCH] fix: use fixed-size integer types for custom types Signed-off-by: Christopher Arndt --- src/jacket.nim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/jacket.nim b/src/jacket.nim index 5f0186e..1b46c9d 100644 --- a/src/jacket.nim +++ b/src/jacket.nim @@ -24,14 +24,15 @@ const JACK_DEFAULT_AUDIO_TYPE* = "32 bit float mono audio" JACK_DEFAULT_MIDI_TYPE* = "8 bit raw midi" + # ----------------------------- Custom Types ------------------------------ type - Time* = culonglong - NFrames* = culong - Uuid* = culonglong - PortId* = culong - PortTypeId* = culong + Time* = uint64 + NFrames* = uint32 + Uuid* = uint64 + PortId* = uint32 + PortTypeId* = uint32 DefaultAudioSample* = cfloat type