Skip to content

Commit

Permalink
More compiler-specfic code fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Feb 6, 2015
1 parent c9541c1 commit 3df101c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XrdCms/XrdCmsLogin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ int XrdCmsLogin::SendErrorBL(XrdLink *Link)
int XrdCmsLogin::SendErrorBL(XrdLink *Link, char *rbuff, int rblen)
{
CmsRRHdr Rsp = {0, kYR_try, CmsTryRequest::kYR_permtop, htons(rblen)};
struct iovec iov[2] = {{(char *)&Rsp, sizeof(Rsp)}, {rbuff, (size_t)rblen}};
struct iovec iov[2] = {{(char *)&Rsp, sizeof(Rsp)},
{rbuff, static_cast<size_t>(rblen)}};
char msgbuff[2048];

// Send off the data
Expand Down
1 change: 1 addition & 0 deletions src/XrdThrottle/XrdThrottle.hh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public:
virtual int
close();

using XrdSfsFile::fctl;
virtual int
fctl(const int cmd,
const char *args,
Expand Down

0 comments on commit 3df101c

Please sign in to comment.