Index: src/runtime.h =================================================================== --- src/runtime.h (revision 125492) +++ src/runtime.h (working copy) @@ -73,7 +73,7 @@ RUNTIME_INIT_DISABLE_FFMPEG_CODECS = 1 << 23, }; -extern guint32 moonlight_flags; +extern guint64 moonlight_flags; #if DEBUG @@ -110,9 +110,10 @@ RUNTIME_DEBUG_TEXT = 1 << 29, RUNTIME_DEBUG_XAML = 1 << 30, RUNTIME_DEBUG_DEPLOYMENT = 1 << 31, + /* Add more as RUNTIME_DEBUG_XXX = 1ULL << 32, */ }; -extern guint32 debug_flags; +extern guint64 debug_flags; #endif @@ -393,7 +394,7 @@ }; -void runtime_init (guint32 flags); +void runtime_init (guint64 flags); void runtime_init_browser (); void runtime_init_desktop (); Index: src/runtime.cpp =================================================================== --- src/runtime.cpp (revision 125492) +++ src/runtime.cpp (working copy) @@ -69,15 +69,15 @@ static bool inited = false; static bool g_type_inited = false; static GList* surface_list = NULL; -guint32 moonlight_flags = 0; +guint64 moonlight_flags = 0; #if DEBUG -guint32 debug_flags = 0; +guint64 debug_flags = 0; #endif struct env_options { const char *name; - guint32 flag; + guint64 flag; bool set; }; @@ -1898,10 +1898,10 @@ runtime_init (RUNTIME_INIT_DESKTOP); } -static gint32 -get_flags (gint32 def, const char *envname, struct env_options options[]) +static gint64 +get_flags (gint64 def, const char *envname, struct env_options options[]) { - gint32 flags = def; + gint64 flags = def; const char *env; if (envname && (env = g_getenv (envname))) { @@ -1945,7 +1945,7 @@ } void -runtime_init (guint32 flags) +runtime_init (guint64 flags) { if (inited) @@ -1969,7 +1969,7 @@ debug_flags = get_flags (0, "MOONLIGHT_DEBUG", debugs); #endif - + #if OBJECT_TRACKING if (EventObject::objects_created == EventObject::objects_destroyed) { printf ("Runtime created (no leaked objects so far).\n"); Index: plugin/plugin.cpp =================================================================== --- plugin/plugin.cpp (revision 125492) +++ plugin/plugin.cpp (working copy) @@ -49,7 +49,7 @@ // Debug NPStreams #define nps(x)//x -extern guint32 moonlight_flags; +extern guint64 moonlight_flags; /* gleaned from svn log of the moon module, as well as olive/class/{agclr,agmono,System.Silverlight} */ static const char *moonlight_authors[] = {