diff --git a/mozilla/editor/base/nsHTMLEditor.cpp b/mozilla/editor/base/nsHTMLEditor.cpp
index ba19f86cf42..bc208a85fcd 100644
--- a/mozilla/editor/base/nsHTMLEditor.cpp
+++ b/mozilla/editor/base/nsHTMLEditor.cpp
@@ -88,7 +88,7 @@
#include "nsEditorUtils.h"
#include "nsIPref.h"
-const unsigned char nbsp = 160;
+const PRUnichar nbsp = 160;
// HACK - CID for NavDTD until we can get at dtd via the document
// {a6cf9107-15b3-11d2-932e-00805f8add32}
diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp
index ba19f86cf42..bc208a85fcd 100644
--- a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp
+++ b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp
@@ -88,7 +88,7 @@
#include "nsEditorUtils.h"
#include "nsIPref.h"
-const unsigned char nbsp = 160;
+const PRUnichar nbsp = 160;
// HACK - CID for NavDTD until we can get at dtd via the document
// {a6cf9107-15b3-11d2-932e-00805f8add32}