--- class.tx_ncstaticfilecache.php.org	2010-12-30 17:35:55.000000000 +0100
+++ class.tx_ncstaticfilecache.php	2013-08-08 10:52:30.888813727 +0200
@@ -296,7 +296,7 @@
 					// Clear temp files, not frontend cache.
 					break;
 				default:
-					if (t3lib_div::testInt($cacheCmd)) {
+					if (t3lib_utility_Math::canBeInterpretedAsInteger($cacheCmd)) {
 						$this->debug('clearing cache for pid: ' . $cacheCmd);
 						$this->deleteStaticCache($cacheCmd);
 					} else {
@@ -392,7 +392,7 @@
 			}
 
 			// Workspaces have been introduced with TYPO3 4.0.0:
-			$workspacePreview = (t3lib_div::int_from_ver(TYPO3_version) >= 4000000 && $pObj->doWorkspacePreview());
+			$workspacePreview = (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) >= 4000000 && $pObj->doWorkspacePreview());
 
 			$file = $uri . '/index.html';
 			$file = preg_replace('#//#', '/', $file);
