things treated as *'s to long should -be- long's lest you raise the ire of

a processor where sizeof(long) != sizeof(int) and strict alignment.
commitski pval.
This commit is contained in:
jason 2003-07-22 03:24:42 +00:00
parent cea25286d2
commit febca793e1

View File

@ -0,0 +1,43 @@
$OpenBSD: patch-mpg123_h,v 1.1 2003/07/22 03:24:42 jason Exp $
--- mpg123.h.orig Fri May 28 10:51:58 1999
+++ mpg123.h Mon Jul 21 17:05:15 2003
@@ -125,26 +125,26 @@ struct frame {
};
struct parameter {
- int aggressive; /* renice to max. priority */
- int shuffle; /* shuffle/random play */
- int remote; /* remote operation */
- int outmode; /* where to out the decoded sampels */
- int quiet; /* shut up! */
+ long aggressive; /* renice to max. priority */
+ long shuffle; /* shuffle/random play */
+ long remote; /* remote operation */
+ long outmode; /* where to out the decoded sampels */
+ long quiet; /* shut up! */
long usebuffer; /* second level buffer size */
- int tryresync; /* resync stream after error */
+ long tryresync; /* resync stream after error */
int verbose; /* verbose level */
#ifdef TERM_CONTROL
- int term_ctrl;
+ long term_ctrl;
#endif
- int force_mono;
- int force_stereo;
- int force_8bit;
+ long force_mono;
+ long force_stereo;
+ long force_8bit;
long force_rate;
- int down_sample;
- int checkrange;
+ long down_sample;
+ long checkrange;
long doublespeed;
long halfspeed;
- int force_reopen;
+ long force_reopen;
long realtime;
char filename[256];
};