File: fix-declarations.patch

package info (click to toggle)
libdecaf 1.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,280 kB
  • sloc: ansic: 8,294; cpp: 2,606; python: 421; makefile: 21
file content (21 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Date: Sun, 2 Nov 2025 20:27:11 +0100
Subject: fix-declarations

---
 src/per_field/f_field.tmpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/per_field/f_field.tmpl.h b/src/per_field/f_field.tmpl.h
index ac6141b..1c0ac3d 100644
--- a/src/per_field/f_field.tmpl.h
+++ b/src/per_field/f_field.tmpl.h
@@ -67,7 +67,7 @@ mask_t gf_isr(gf a, const gf x); /** a^2 x = 1, QNR, or 0 if x=0.  Return true i
 mask_t gf_eq (const gf x, const gf y);
 mask_t gf_lobit (const gf x);
 
-void gf_serialize (uint8_t *serial, const gf x);
+void gf_serialize (uint8_t serial[SER_BYTES], const gf x);
 mask_t gf_deserialize (gf x, const uint8_t serial[SER_BYTES],uint8_t hi_nmask);