summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/c-client.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 45e2cfe..568e46c 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -567,7 +567,7 @@ authorization from the authors.
<xsl:variable name="struct"
select="$pass1/xcb/struct[@name=current()/@ref]" />
- <xsl:variable name="num-parts" select="1+count($struct/list)*2" />
+ <xsl:variable name="num-parts" select="(1+count($struct/list))*2" />
<l>static const XCBProtocolRequest xcb_req = {</l>
<indent>