Browse Source

Fix compiler warning

rdb 15 years ago
parent
commit
f76a3b37da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/nativenet/socket_tcp_ssl.h

+ 1 - 1
panda/src/nativenet/socket_tcp_ssl.h

@@ -315,7 +315,7 @@ inline void Socket_TCP_SSL::DetailErrorFormat(void)
     while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0)
     {
         ERR_error_string_n(l, buf, sizeof( buf) );
-        BIO_snprintf(buf2, sizeof(buf2), "***%lu:%s:%s:%d:%s\n", es, buf,file, line, (flags & ERR_TXT_STRING) ? data : "NoText");
+        BIO_snprintf(buf2, sizeof(buf2), "***%lu:%s:%s:%d:%s\n", (unsigned long) es, buf,file, line, (flags & ERR_TXT_STRING) ? data : "NoText");
         nativenet_cat.warning()
           << "Socket_TCP_SSL::DetailErrorFormat->[" << buf2 << "]\n";
     }