summaryrefslogtreecommitdiffhomepage
path: root/ir/kaps
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-02-21 16:01:18 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-02-22 14:26:02 +0100
commit031b833469da6124a160e4a9ed2400ed7ed3d34c (patch)
treeddd9e66db3eacc972c896ebedc005c9afa00d310 /ir/kaps
parent1e685e6c824bf70d5caa805caff15e7811b49f89 (diff)
Fixed method signature: Made indexes unsigned.
Diffstat (limited to 'ir/kaps')
-rw-r--r--ir/kaps/pbqp_edge.c2
-rw-r--r--ir/kaps/pbqp_edge.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ir/kaps/pbqp_edge.c b/ir/kaps/pbqp_edge.c
index a1559ca..c6a665e 100644
--- a/ir/kaps/pbqp_edge.c
+++ b/ir/kaps/pbqp_edge.c
@@ -23,7 +23,7 @@
#include "pbqp_node_t.h"
#include "pbqp_t.h"
-pbqp_edge_t *alloc_edge(pbqp_t *pbqp, int src_index, int tgt_index,
+pbqp_edge_t *alloc_edge(pbqp_t *pbqp, unsigned src_index, unsigned tgt_index,
pbqp_matrix_t *costs)
{
int transpose = 0;
diff --git a/ir/kaps/pbqp_edge.h b/ir/kaps/pbqp_edge.h
index 58956b1..c6fc8d6 100644
--- a/ir/kaps/pbqp_edge.h
+++ b/ir/kaps/pbqp_edge.h
@@ -14,7 +14,7 @@
#include "pbqp_t.h"
-pbqp_edge_t *alloc_edge(pbqp_t *pbqp, int src_index, int tgt_index,
+pbqp_edge_t *alloc_edge(pbqp_t *pbqp, unsigned src_index, unsigned tgt_index,
pbqp_matrix_t *costs);
pbqp_edge_t *pbqp_edge_deep_copy(pbqp_t *pbqp, pbqp_edge_t *edge,