Mercurial > hg > Applications > Grep
comparison regexParser/bitVector.cc @ 188:109d22faf7b5 pairPro
remove errors and warnings
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Dec 2015 02:57:21 +0900 |
parents | ef798db705e9 |
children | 02031fb73af8 |
comparison
equal
deleted
inserted
replaced
187:ef798db705e9 | 188:109d22faf7b5 |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <string.h> | 3 #include <string.h> |
4 #include "bitVector.h" | 4 #include "bitVector.h" |
5 | 5 |
6 BitVector createBitvector(int state) { | 6 BitVector createBitVector(int state) { |
7 unsigned long tmp = 1 << state; | 7 unsigned long tmp = 1 << state; |
8 BitVector bi1 = (BitVector){.bitContainer = tmp}; | 8 BitVector bi1 = (BitVector){.bitContainer = tmp}; |
9 return bi1; | 9 return bi1; |
10 } | 10 } |
11 | 11 |