Blender Git Commit Log

Git Commits -> Revision 33c6884

Revision 33c6884 by Joshua Leung (master)
September 1, 2013, 05:12 (GMT)
Mingw/Windows Compiling Fix

This commit attempts to fix the following error:

internguardedallocinternmallocn.c: In function 'rem_memblock':
internguardedallocinternmallocn.c:977:48: error: conversion to 'intptr_t' from 'size_t' may change the sign of the result [-Werror=sign-conversion]

From the references I've managed to find, it appears that
the second arg to munmap() should be size_t not intptr_t.
Fortunately though, we don't use this arg anyways atm, so
this should be quite harmless...

Commit Details:

Full Hash: 33c68846de10c53c56eba3a6f5ce7f8d52ddb735
SVN Revision: 59699
Parent Commit: 9d04a61
Lines Changed: +2, -2

2 Modified Paths:

/intern/guardedalloc/intern/mmap_win.c (+1, -1) (Diff)
/intern/guardedalloc/mmap_win.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021