We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b97a656 + 03b3136 commit 7535ab7Copy full SHA for 7535ab7
src/IECore/ObjectPool.cpp
@@ -1,6 +1,6 @@
1
//////////////////////////////////////////////////////////////////////////
2
//
3
-// Copyright (c) 2013, Image Engine Design Inc. All rights reserved.
+// Copyright (c) 2013-2014, Image Engine Design Inc. All rights reserved.
4
5
// Redistribution and use in source and binary forms, with or without
6
// modification, are permitted provided that the following conditions are
@@ -141,7 +141,7 @@ ObjectPoolPtr ObjectPool::defaultObjectPool()
141
if( !c )
142
{
143
const char *m = getenv( "IECORE_OBJECTPOOL_MEMORY" );
144
- int mi = m ? boost::lexical_cast<int>( m ) : 500;
+ size_t mi = m ? boost::lexical_cast<size_t>( m ) : 500;
145
c = new ObjectPool(1024 * 1024 * mi);
146
}
147
return c;
0 commit comments