@@ -67,7 +67,7 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
 | 
				
			|||||||
        {}
 | 
					        {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        async_msg(async_msg_type m_type) :msg_type(m_type)
 | 
					        async_msg(async_msg_type m_type) :msg_type(m_type)
 | 
				
			||||||
        {};
 | 
					        {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        async_msg& operator=(async_msg&& other) SPDLOG_NOEXCEPT
 | 
					        async_msg& operator=(async_msg&& other) SPDLOG_NOEXCEPT
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -216,11 +216,11 @@ inline size_t filesize(FILE *f)
 | 
				
			|||||||
#if !defined(__FreeBSD__) && !defined(__APPLE__) && (defined(__x86_64__) || defined(__ppc64__))
 | 
					#if !defined(__FreeBSD__) && !defined(__APPLE__) && (defined(__x86_64__) || defined(__ppc64__))
 | 
				
			||||||
    struct stat64 st;
 | 
					    struct stat64 st;
 | 
				
			||||||
    if (fstat64(fd, &st) == 0)
 | 
					    if (fstat64(fd, &st) == 0)
 | 
				
			||||||
        return st.st_size;
 | 
					        return static_cast<size_t>(st.st_size);
 | 
				
			||||||
#else // unix 32 bits or osx
 | 
					#else // unix 32 bits or osx
 | 
				
			||||||
    struct stat st;
 | 
					    struct stat st;
 | 
				
			||||||
    if (fstat(fd, &st) == 0)
 | 
					    if (fstat(fd, &st) == 0)
 | 
				
			||||||
        return st.st_size;
 | 
					        return static_cast<size_t>(st.st_size);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    throw spdlog_ex("Failed getting file size from fd", errno);
 | 
					    throw spdlog_ex("Failed getting file size from fd", errno);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user