This commit is contained in:
2023-10-18 21:36:42 +08:00
parent 37f331b842
commit 15a851590b
4 changed files with 7 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ void *enQueue(SqQuecu *Q){
if(Q->rear==Q->Maxsize-1)Q->rear=-1;
Q->rear++;
Q->size++;
return Q->container+Q->rear*Q->NodeSize;
return Q->container + Q->rear*Q->NodeSize;
}
/*