Home | History | Annotate | Line # | Download | only in lint1
msg_135.c revision 1.3
      1 /*	$NetBSD: msg_135.c,v 1.3 2021/02/28 00:20:19 rillig Exp $	*/
      2 # 3 "msg_135.c"
      3 
      4 // Test for message: possible pointer alignment problem [135]
      5 
      6 /* lint1-extra-flags: -h */
      7 
      8 unsigned
      9 read_uint(const unsigned char **pp)
     10 {
     11 	unsigned val;
     12 
     13 	val = *(const unsigned *)(*pp);
     14 	pp += sizeof(unsigned);
     15 	return val;
     16 }
     17