diff --git a/maestro/pool_client.c b/maestro/pool_client.c index cba5ba8313fe8526f81e12e3874978341a6f951d..cc44e96d4076a6645639b29a028d6fe6603ae17d 100644 --- a/maestro/pool_client.c +++ b/maestro/pool_client.c @@ -10,6 +10,7 @@ #include "maestro/i_ofi.h" #include "maestro/i_statistics.h" #include "i_subscription_registry.h" +#include "maestro/i_misc.h" #include <unistd.h> #include <inttypes.h> @@ -320,7 +321,7 @@ mstro_pc__construct_gfs_path_for_cdo(const mstro_cdo src_cdo, /* make the directory path */ WITH_CDO_ID_STR(idstr, &src_cdo->gid, { - int n = snprintf(*path, l1, "%s%" PRIappid "/%s/", + size_t n = snprintf(*path, l1, "%s%" PRIappid "/%s/", g_mstro_transport_gfs_dir, g_pool_app_id, idstr); @@ -338,7 +339,7 @@ mstro_pc__construct_gfs_path_for_cdo(const mstro_cdo src_cdo, /* this time make the file path */ WITH_CDO_ID_STR(idstr, &src_cdo->gid, { - int n = snprintf(*path, l, "%s%" PRIappid "/%s/%" PRIlocalid, + size_t n = snprintf(*path, l, "%s%" PRIappid "/%s/%" PRIlocalid, g_mstro_transport_gfs_dir, g_pool_app_id, idstr,