Ajout d'un -1 très utile
This commit is contained in:
		
							parent
							
								
									95002771be
								
							
						
					
					
						commit
						fb861ac822
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -102,7 +102,7 @@ int main( int argc, char **argv)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		P(mutex_data);
 | 
							P(mutex_data);
 | 
				
			||||||
			vartemp = (int) memoireP->tete;
 | 
								vartemp = (int) memoireP->tete;
 | 
				
			||||||
			msgtemp = (MSG) memoireP->f[vartemp];
 | 
								msgtemp = (MSG) memoireP->f[vartemp -1 ];
 | 
				
			||||||
		V(mutex_data);
 | 
							V(mutex_data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if(numTete != vartemp)
 | 
							if(numTete != vartemp)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue