diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-24 10:49:30 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-24 10:49:30 (GMT) |
commit | 762bd9a960a7138db484bc3b1132e89610349a81 (patch) | |
tree | e5fd9d02b408dea66ef9b4a307d16c9805634bd3 /src | |
parent | 61d001479c59a416ef3ad3e1457bae8162416a15 (diff) |
Fix the build with xulrunner-1.9a8, patch by jani.
Use c++ casts, the mozilla ones was dropped.
Diffstat (limited to 'src')
-rw-r--r-- | src/hulahop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hulahop.cpp b/src/hulahop.cpp index e34b282..dbe9497 100644 --- a/src/hulahop.cpp +++ b/src/hulahop.cpp @@ -59,8 +59,8 @@ hulahop_startup() NS_ENSURE_SUCCESS(rv, FALSE); rv = XRE_InitEmbedding(greDir, binDir, - NS_CONST_CAST(HulahopDirectoryProvider *, - &kDirectoryProvider), nsnull, 0); + const_cast<HulahopDirectoryProvider *> + (&kDirectoryProvider), nsnull, 0); NS_ENSURE_SUCCESS(rv, FALSE); XRE_NotifyProfile(); |