Backout previous changes to fix build bustage.

This commit is contained in:
kin%netscape.com 1998-12-16 18:52:23 +00:00
Родитель 8988ae7888
Коммит 816295ccfd
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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);