зеркало из https://github.com/mozilla/pjs.git
Backout previous changes to fix build bustage.
This commit is contained in:
Родитель
8988ae7888
Коммит
816295ccfd
|
@ -233,7 +233,7 @@ nsTransactionItem::GetNumberOfRedoItems(PRInt32 *aNumItems)
|
|||
nsresult
|
||||
nsTransactionItem::Write(nsIOutputStream *aOutputStream)
|
||||
{
|
||||
PRInt32 len;
|
||||
PRUint32 len;
|
||||
|
||||
if (mTransaction)
|
||||
mTransaction->Write(aOutputStream);
|
||||
|
|
|
@ -516,7 +516,7 @@ nsTransactionManager::PeekRedoStack(nsITransaction **aTransaction)
|
|||
nsresult
|
||||
nsTransactionManager::Write(nsIOutputStream *aOutputStream)
|
||||
{
|
||||
PRInt32 len;
|
||||
PRUint32 len;
|
||||
|
||||
if (!aOutputStream)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
|
|
@ -252,7 +252,7 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
|
||||
NS_IMETHOD Close(void) {return NS_OK;}
|
||||
NS_IMETHOD Write(const char *str, PRInt32 offset, PRInt32 len, PRInt32 *wcnt)
|
||||
NS_IMETHOD Write(const char *str, PRUint32 offset, PRUint32 len, PRUint32 *wcnt)
|
||||
{
|
||||
*wcnt = fwrite(&str[offset], 1, len, stdout);
|
||||
fflush(stdout);
|
||||
|
@ -448,7 +448,7 @@ public:
|
|||
virtual nsresult Write(nsIOutputStream *aOutputStream)
|
||||
{
|
||||
char buf[256];
|
||||
PRInt32 amt;
|
||||
PRUint32 amt;
|
||||
|
||||
sprintf(buf, "Transaction: %d - 0x%.8x\n", mVal, this);
|
||||
return aOutputStream->Write(buf, 0, strlen(buf), &amt);
|
||||
|
|
Загрузка…
Ссылка в новой задаче