A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright lines for 2022.
[simgrid.git]
/
src
/
xbt
/
automaton
/
automaton.c
diff --git
a/src/xbt/automaton/automaton.c
b/src/xbt/automaton/automaton.c
index
1d6be9f
..
0dcec43
100644
(file)
--- a/
src/xbt/automaton/automaton.c
+++ b/
src/xbt/automaton/automaton.c
@@
-1,6
+1,6
@@
/* automaton - representation of büchi automaton */
/* automaton - representation of büchi automaton */
-/* Copyright (c) 2011-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2011-202
2
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-329,9
+329,9
@@
int xbt_automaton_exp_label_compare(const_xbt_automaton_exp_label_t l1, const_xb
int xbt_automaton_propositional_symbols_compare_value(const_xbt_dynar_t s1, const_xbt_dynar_t s2)
{
int xbt_automaton_propositional_symbols_compare_value(const_xbt_dynar_t s1, const_xbt_dynar_t s2)
{
- unsigned
int
nb_elem = xbt_dynar_length(s1);
+ unsigned
long
nb_elem = xbt_dynar_length(s1);
- for (unsigned
int
cursor = 0; cursor < nb_elem; cursor++) {
+ for (unsigned
long
cursor = 0; cursor < nb_elem; cursor++) {
const int* iptr1 = xbt_dynar_get_ptr(s1, cursor);
const int* iptr2 = xbt_dynar_get_ptr(s2, cursor);
if(*iptr1 != *iptr2)
const int* iptr1 = xbt_dynar_get_ptr(s1, cursor);
const int* iptr2 = xbt_dynar_get_ptr(s2, cursor);
if(*iptr1 != *iptr2)