Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ellert authored and simonmichal committed Mar 18, 2019
1 parent b1636f4 commit 0bd8153
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/XrdCl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ target_link_libraries(
XrdXml
XrdUtils
pthread
${EXTRA_LIBS}
${CMAKE_DL_LIBS})

set_target_properties(
Expand Down
2 changes: 1 addition & 1 deletion src/XrdMacaroons/XrdMacaroonsHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Handler::GenerateMacaroonResponse(XrdHttpExtReq &req, const std::string &resourc
std::vector<char> 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);
}

Expand Down
8 changes: 4 additions & 4 deletions src/XrdOfs/XrdOfsTPC.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0bd8153

Please sign in to comment.