blob: 9376051ded4ca9a65c7bc1a533b26f047f8362de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- swig/geos.i.orig 2006-12-16 11:47:15.000000000 +0100
+++ swig/geos.i 2006-12-16 11:48:33.000000000 +0100
@@ -127,7 +127,7 @@
void checkCoordSeqBounds(const GEOSCoordSeq coordSeq, const size_t index)
{
- size_t size = 0;
+ unsigned int size = 0;
GEOSCoordSeq_getSize(coordSeq, &size);
if (index < 0 || index >= size)
@@ -223,17 +223,17 @@
return result;
}
- int getSize()
+ unsigned int getSize()
{
- size_t result;
+ unsigned int result;
GEOSCoordSeq coords = (GEOSCoordSeq) self;
GEOSCoordSeq_getSize(coords, &result);
return result;
}
- int getDimensions()
+ unsigned int getDimensions()
{
- size_t result;
+ unsigned int result;
GEOSCoordSeq coords = (GEOSCoordSeq) self;
GEOSCoordSeq_getDimensions(coords, &result);
return result;
|