Fixed build problems.

Changed char*const* to const char *const* in some places.


git-svn-id: svn://10.0.0.236/trunk@63508 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com 2000-03-21 01:10:35 +00:00
parent 27c3a53d86
commit 7e97a9a53e
2 changed files with 6 additions and 5 deletions

View File

@ -72,7 +72,8 @@ nsByteRange* ByteRanges::GetByteRanges(JNIEnv *env, jobject object) {
env->ReleaseIntArrayElements(jlength,length,0);
return NULL;
}
for (int i = 0;i<current;i++) {
int i;
for (i = 0;i<current;i++) {
res[i].offset = offset[i];
res[i].length = length[i];
res[i].next = &res[i+1];

View File

@ -36,8 +36,8 @@ JNIEXPORT jobjectArray JNICALL Java_org_mozilla_pluglet_mozilla_PlugletTagInfo2I
jobjectArray jnames;
jobjectArray jvalues;
jobjectArray result;
char*const* names;
char*const* values;
const char*const* names;
const char*const* values;
PRUint16 nAttr;
PR_LOG(PlugletLog::log, PR_LOG_DEBUG,
@ -143,8 +143,8 @@ JNIEXPORT jobjectArray JNICALL Java_org_mozilla_pluglet_mozilla_PlugletTagInfo2I
jobjectArray jnames;
jobjectArray jvalues;
jobjectArray result;
char*const* names;
char*const* values;
const char * const * names;
const char * const * values;
PRUint16 nParam;
PR_LOG(PlugletLog::log, PR_LOG_DEBUG,