Files
vde2/vde2-C99.patch
Dirk Mueller 0903de4256 Accepting request 1187553 from home:jamborm:gcc14fixes
- Added vde2-C99.patch to avoid a C99 violation preventing the package
  to be built with GC 14.  [boo#1225950]

If the request is OK, please also forward it to Factory soon-ish so
that we can switch the default compiler.

OBS-URL: https://build.opensuse.org/request/show/1187553
OBS-URL: https://build.opensuse.org/package/show/Virtualization/vde2?expand=0&rev=20
2024-08-01 15:02:01 +00:00

25 lines
706 B
Diff

From f86c725db59d0e0ec9967f7af2703328a96ac993 Mon Sep 17 00:00:00 2001
From: Alexander Borkowski <a.borkowski@ontolinguistics.org>
Date: Mon, 15 Jul 2019 08:09:34 +0200
Subject: [PATCH] Silence compiler warning about implicit type.
References: boo#1225950
Upstream: Already committed, this is a backport.
---
src/wirefilter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wirefilter.c b/src/wirefilter.c
index c6ff9ef..ee9714d 100644
--- a/src/wirefilter.c
+++ b/src/wirefilter.c
@@ -133,7 +133,7 @@ static inline void markov_node_free(struct markov_node *old)
free(old);
}
-static void markov_compute(i)
+static void markov_compute(int i)
{
int j;
ADJMAP(i,i)=100.0;