Osmocom TETRA PHY/MAC implementation https://osmocom.org/projects/tetra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
osmo-tetra/etsi_codec-patches/fix_64bit.patch

34 lines
836 B

diff -Nruw codec.orig/amr-code/source.h codec/amr-code/source.h
--- codec.orig/amr-code/source.h 2016-12-18 16:17:46.238404730 +0100
+++ codec/amr-code/source.h 2016-12-18 16:18:21.358545740 +0100
@@ -19,10 +19,11 @@
#ifndef TYPEDEF_H
#define TYPEDEF_H
+#include <stdint.h>
-typedef short Word16;
-typedef long Word32;
+typedef int16_t Word16;
+typedef int32_t Word32;
typedef int Flag;
#endif
diff -Nruw codec.orig/c-code/source.h codec/c-code/source.h
--- codec.orig/c-code/source.h 2016-12-18 16:17:46.242404746 +0100
+++ codec/c-code/source.h 2016-12-18 16:18:54.494678813 +0100
@@ -19,10 +19,11 @@
#ifndef TYPEDEF_H
#define TYPEDEF_H
+#include <stdint.h>
-typedef short Word16;
-typedef long Word32;
+typedef int16_t Word16;
+typedef int32_t Word32;
typedef int Flag;
#endif