Kaydet (Commit) 09a5a749 authored tarafından Michael Stahl's avatar Michael Stahl

warning C4267: conversion from 'size_t' to 'unsigned long'

Change-Id: I1d922e5b3c7959022b6f57c33b9a4976a16305f6
üst 48ab773e
......@@ -127,7 +127,7 @@ FileStream::~FileStream()
unsigned long FileStream::sread (unsigned char *buf, unsigned long size)
{
if (file)
return fread(buf, 1, size, file);
return static_cast<unsigned long>(fread(buf, 1, size, file));
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment