make nan const... cosnt!

SVN revision: 44307
This commit is contained in:
Carsten Haitzler 2009-12-09 06:26:59 +00:00
parent 4d42a6d2db
commit aad24b249c
2 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ struct _Edje_External_Param
typedef struct _Edje_External_Param Edje_External_Param;
#ifndef NAN
extern float *_edje_const_nan;
extern const float *_edje_const_nan;
#define NAN (*_edje_const_nan)
#endif

View File

@ -7,7 +7,7 @@
#include "edje_private.h"
static const unsigned int _edje_const_nan_int = 0x7fc00000;
float *_edje_const_nan = (float *)(&(_edje_const_nan_int));
const float *_edje_const_nan = (float *)(&(_edje_const_nan_int));
static int _edje_init_count = 0;
static int _edje_log_dom_global = -1;