fixed print warnings
This commit is contained in:
@ -68,10 +68,10 @@ Constant_Stack *Print_Stack() {
|
||||
printf("Type: %s, Value: NULL", getName(cs->theType));
|
||||
}
|
||||
if (cs->theType == stri) {
|
||||
printf("Type: %s, Value: %s\n", getName(cs->theType), *(char *)(cs->theValue));
|
||||
printf("Type: %s, Value: %c\n", getName(cs->theType), *(char *)(cs->theValue));
|
||||
}
|
||||
if (cs->theType == integ) {
|
||||
printf("Type: %s, Value: %d\n", getName(cs->theType), (int *)(cs->theValue));
|
||||
printf("Type: %s, Value: %d\n", getName(cs->theType), *(int *)(cs->theValue));
|
||||
}
|
||||
if (cs->theType == chara) {
|
||||
printf("Type: %s, Value: %c\n", getName(cs->theType), *(char *)cs->theValue);
|
||||
|
Reference in New Issue
Block a user