diff --git a/ogr/ogrgeometry.cpp b/ogr/ogrgeometry.cpp
index f209396e5467..d7a240259da3 100644
--- a/ogr/ogrgeometry.cpp
+++ b/ogr/ogrgeometry.cpp
@@ -4618,7 +4618,7 @@ OGRGeometryH OGR_G_Buffer(OGRGeometryH hTarget, double dfDist, int nQuadSegs)
*
ENDCAP_STYLE=ROUND/FLAT/SQUARE
* JOIN_STYLE=ROUND/MITRE/BEVEL
* MITRE_LIMIT=double
- * QUADRANT_SEGMENTS=double
+ * QUADRANT_SEGMENTS=int
* SINGLE_SIDED=YES/NO
*
*
@@ -4833,7 +4833,7 @@ OGRGeometry::BufferEx(UNUSED_IF_NO_GEOS double dfDist,
* ENDCAP_STYLE=ROUND/FLAT/SQUARE
* JOIN_STYLE=ROUND/MITRE/BEVEL
* MITRE_LIMIT=double
- * QUADRANT_SEGMENTS=double
+ * QUADRANT_SEGMENTS=int
* SINGLE_SIDED=YES/NO
*
*