mirror of https://github.com/CGAL/cgal
Fix a [-Wconversion] warning
This commit is contained in:
parent
e9065aeaba
commit
cbd4d97998
|
|
@ -168,7 +168,7 @@ unsigned int ImageIO_limit_len(size_t to_be_read)
|
||||||
CGAL_INLINE_FUNCTION
|
CGAL_INLINE_FUNCTION
|
||||||
size_t ImageIO_write(const _image *im, const void *buf, size_t len) {
|
size_t ImageIO_write(const _image *im, const void *buf, size_t len) {
|
||||||
size_t to_be_written = len;
|
size_t to_be_written = len;
|
||||||
int l = -1;
|
std::ptrdiff_t l = -1;
|
||||||
char *b = (char*)buf;
|
char *b = (char*)buf;
|
||||||
|
|
||||||
switch(im->openMode) {
|
switch(im->openMode) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue