Fix warning texthnd_t->buffer

This commit is contained in:
Denis Pauk 2021-01-30 20:54:42 +02:00
parent 29df38f239
commit 2514b693ad
2 changed files with 9 additions and 9 deletions

View file

@ -217,7 +217,7 @@ void Do_Text_Display(edict_t *activator, int flags, char *message)
char *p1, *p2, *p3; char *p1, *p2, *p3;
char sound[64]; char sound[64];
texthnd_t *hnd; texthnd_t *hnd;
byte *temp_buffer; char *temp_buffer;
int line_length; int line_length;
int new_line_length; int new_line_length;
qboolean alt, centered, right_justified; qboolean alt, centered, right_justified;

View file

@ -13,7 +13,7 @@ typedef struct texthnd_s {
int flags; int flags;
int allocated; int allocated;
float last_update; float last_update;
byte *buffer; char *buffer;
} texthnd_t; } texthnd_t;
typedef struct text_s { typedef struct text_s {