diff --git a/modules/module-pipewire/remote-endpoint.c b/modules/module-pipewire/remote-endpoint.c
index ccf54a2794eb99ed3bc911e543ab9255d431623e..f751be2ac95772f86a371a3f1e32c2357759308f 100644
--- a/modules/module-pipewire/remote-endpoint.c
+++ b/modules/module-pipewire/remote-endpoint.c
@@ -319,7 +319,7 @@ client_endpoint_set_param (void *object, uint32_t id, uint32_t flags,
   }
 
   if ((res = spa_pod_parser_get (&p,
-          PW_ENDPOINT_PARAM_CONTROL_id, SPA_POD_Id (&control_id),
+          PW_ENDPOINT_PARAM_CONTROL_id, SPA_POD_Int (&control_id),
           PW_ENDPOINT_PARAM_CONTROL_value, SPA_POD_Pod (&value),
           NULL)) < 0)
     goto error;