Skip to content

Commit

Permalink
Fix narrowing complaint.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed May 24, 2016
1 parent 393d6d7 commit e029be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdSys/XrdSysLogger.cc
Expand Up @@ -481,7 +481,7 @@ void XrdSysLogger::putEmsg(char *msg, int msz)
unsigned long tID = XrdSysThread::Num();
char tbuff[32];
struct timeval tVal;
struct iovec eVec[2] = {{tbuff, 0}, {msg, msz}};
struct iovec eVec[2] = {{tbuff, 0}, {msg, (size_t)msz}};
int retc;

// Get current time
Expand Down

0 comments on commit e029be1

Please sign in to comment.