diff --git a/src/XrdCl/CMakeLists.txt b/src/XrdCl/CMakeLists.txt index 8c3de77744b..61d47e25019 100644 --- a/src/XrdCl/CMakeLists.txt +++ b/src/XrdCl/CMakeLists.txt @@ -95,6 +95,7 @@ target_link_libraries( XrdXml XrdUtils pthread + ${EXTRA_LIBS} ${CMAKE_DL_LIBS}) set_target_properties( diff --git a/src/XrdMacaroons/XrdMacaroonsHandler.cc b/src/XrdMacaroons/XrdMacaroonsHandler.cc index ce81bac4f72..785a59aece9 100644 --- a/src/XrdMacaroons/XrdMacaroonsHandler.cc +++ b/src/XrdMacaroons/XrdMacaroonsHandler.cc @@ -498,7 +498,7 @@ Handler::GenerateMacaroonResponse(XrdHttpExtReq &req, const std::string &resourc std::vector macaroon_resp; macaroon_resp.reserve(size_hint); if (macaroon_serialize(mac_with_date, &macaroon_resp[0], size_hint, &mac_err)) { - printf("Returned macaroon_serialize code: %lu\n", size_hint); + printf("Returned macaroon_serialize code: %zu\n", size_hint); return req.SendSimpleResp(500, NULL, NULL, "Internal error serializing macaroon", 0); } diff --git a/src/XrdOfs/XrdOfsTPC.hh b/src/XrdOfs/XrdOfsTPC.hh index b60bcb0fc54..dfa7c590b0d 100644 --- a/src/XrdOfs/XrdOfsTPC.hh +++ b/src/XrdOfs/XrdOfsTPC.hh @@ -88,10 +88,10 @@ struct iParm {char *Pgm; int Strm; int SMax; int Xmax; - char Grab; - char xEcho; - char autoRM; - char oidsOK; + signed char Grab; + signed char xEcho; + signed char autoRM; + signed char oidsOK; iParm() : Pgm(0), Ckst(0), cpath(0), fCreds(0), Dflttl(-1), Maxttl(-1), Logok(-1), Strm(-1), SMax(64), Xmax(-1), Grab(0),