Revision 837 trunk/libraries/libjni-mrsid/src/mrsidimagereader.cpp

View differences:

mrsidimagereader.cpp
62 62
  	jlong jresult = 0 ;
63 63
  	FILE *fich;
64 64
  	
65
  	
65 66
  	pszFilename = env->GetStringUTFChars(pszF, 0);
66 67

  
67 68
	fich=fopen( pszFilename, "r" );
......
75 76
  	
76 77
  	const LTFileSpec fileSpec(pszFilename);
77 78
  	poImageReader = new MrSIDImageReader( fileSpec );
78
  	
79 79
  	*(LTIImageReader **)&jresult = poImageReader;
80
  	
81 80
    env->ReleaseStringUTFChars(pszF, pszFilename);
82 81
  	
83 82
  

Also available in: Unified diff