[Hdrflow-svn] SF.net SVN: hdrflow: [111] lib/openlibraries/src/openmedialib/plugins/ofx/ ofx_plugin
Status: Pre-Alpha
Brought to you by:
glslang
|
From: <gl...@us...> - 2007-05-01 22:40:11
|
Revision: 111
http://hdrflow.svn.sourceforge.net/hdrflow/?rev=111&view=rev
Author: glslang
Date: 2007-05-01 15:40:09 -0700 (Tue, 01 May 2007)
Log Message:
-----------
+ build and warning fix
Modified Paths:
--------------
lib/openlibraries/src/openmedialib/plugins/ofx/ofx_plugin.cpp
Modified: lib/openlibraries/src/openmedialib/plugins/ofx/ofx_plugin.cpp
===================================================================
--- lib/openlibraries/src/openmedialib/plugins/ofx/ofx_plugin.cpp 2007-05-01 22:26:13 UTC (rev 110)
+++ lib/openlibraries/src/openmedialib/plugins/ofx/ofx_plugin.cpp 2007-05-01 22:40:09 UTC (rev 111)
@@ -304,7 +304,7 @@
param_props_->append( base_double_param_descriptor_param_prop_default_ = 0.0 );
param_props_->append( base_double_param_descriptor_param_prop_increment_ = 1.0 );
param_props_->append( base_double_param_descriptor_param_prop_digits_ = 2 );
- param_props_->append( base_double_param_descriptor_param_prop_double_type_ = kOfxParamDoubleTypePlain );
+ param_props_->append( base_double_param_descriptor_param_prop_double_type_ = pl::string( kOfxParamDoubleTypePlain ) );
}
private:
@@ -910,7 +910,7 @@
param_props_->append( base_double_param_prop_default_ = 0.0 );
param_props_->append( base_double_param_prop_increment_ = 1.0 );
param_props_->append( base_double_param_prop_digits_ = 2 );
- param_props_->append( base_double_param_prop_double_type_ = kOfxParamDoubleTypePlain );
+ param_props_->append( base_double_param_prop_double_type_ = pl::string( kOfxParamDoubleTypePlain ) );
}
private:
@@ -2302,7 +2302,7 @@
OfxStatus memory_free( void* allocated_data )
{
- delete[ ] allocated_data;
+ delete[ ] ( char* ) allocated_data;
return kOfxStatOK;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|