mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
this should fix a couple warnings found by raorn
This commit is contained in:
parent
1819a96bfb
commit
a2b2261913
2 changed files with 7 additions and 6 deletions
|
@ -46,18 +46,18 @@
|
|||
#endif
|
||||
|
||||
typedef struct _TargaHeader {
|
||||
unsigned char id_length __attribute__((packed));
|
||||
unsigned char colormap_type __attribute__((packed));
|
||||
unsigned char image_type __attribute__((packed));
|
||||
unsigned char id_length;// __attribute__((packed));
|
||||
unsigned char colormap_type;// __attribute__((packed));
|
||||
unsigned char image_type;// __attribute__((packed));
|
||||
unsigned short colormap_index __attribute__((packed));
|
||||
unsigned short colormap_length __attribute__((packed));
|
||||
unsigned char colormap_size __attribute__((packed));
|
||||
unsigned char colormap_size;// __attribute__((packed));
|
||||
unsigned short x_origin __attribute__((packed));
|
||||
unsigned short y_origin __attribute__((packed));
|
||||
unsigned short width __attribute__((packed));
|
||||
unsigned short height __attribute__((packed));
|
||||
unsigned char pixel_size __attribute__((packed));
|
||||
unsigned char attributes __attribute__((packed));
|
||||
unsigned char pixel_size;// __attribute__((packed));
|
||||
unsigned char attributes;// __attribute__((packed));
|
||||
} TargaHeader;
|
||||
|
||||
#if defined (__BORLANDC__) || defined (_MSC_VER)
|
||||
|
|
|
@ -321,6 +321,7 @@ SNDDMA_Init (void)
|
|||
|
||||
// don't mix less than this in mono samples:
|
||||
err = qfsnd_pcm_hw_params_get_period_size (hw, (snd_pcm_uframes_t *)
|
||||
(char *)
|
||||
&sn.submission_chunk, 0);
|
||||
if (0 > err) {
|
||||
Sys_Printf ("ALSA: unable to get period size. %s\n",
|
||||
|
|
Loading…
Reference in a new issue