Fix compiler warning: comparison between signed and unsigned integer expressions
Signed-off-by: brian <brian@brutex.de>
This commit is contained in:
		
							parent
							
								
									2d9558af6b
								
							
						
					
					
						commit
						7362ea278b
					
				| @ -610,7 +610,7 @@ namespace sd { | |||||||
|                 state[0] = seedConv(this->seed); |                 state[0] = seedConv(this->seed); | ||||||
|                 state[1] = seedConv(this->seed * 119 + 3); |                 state[1] = seedConv(this->seed * 119 + 3); | ||||||
| 
 | 
 | ||||||
|                 int fd = 3 + 3; |                 //int fd = 3 + 3;
 | ||||||
| 
 | 
 | ||||||
|                 for (Nd4jLong i = 0; i < limit; i++) { |                 for (Nd4jLong i = 0; i < limit; i++) { | ||||||
|                     buffer[i] = next64(); |                     buffer[i] = next64(); | ||||||
|  | |||||||
| @ -1113,7 +1113,7 @@ static Nd4jPointer _numpyHeaderForNd4j(Nd4jPointer data,const Nd4jPointer shapeB | |||||||
|     auto npHeader = cnpy::createNpyHeader<T>(data,npShape,rank,wordSize); |     auto npHeader = cnpy::createNpyHeader<T>(data,npShape,rank,wordSize); | ||||||
|     char *ret = new char[npHeader.size() + 1]; |     char *ret = new char[npHeader.size() + 1]; | ||||||
|     int count = 0; |     int count = 0; | ||||||
|     for(int i = 0; i < npHeader.size(); i++) { |     for(int i = 0; (size_t)i < npHeader.size(); i++) { | ||||||
|         ret[count] = npHeader[i]; |         ret[count] = npHeader[i]; | ||||||
|         count++; |         count++; | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user