Explorar o código

64-bit cleanup: db_con->tail properly aligned

Jan Janak %!s(int64=22) %!d(string=hai) anos
pai
achega
6f0beca17c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      db/db_con.h

+ 1 - 1
db/db_con.h

@@ -39,7 +39,7 @@
 typedef struct {
 	char* table;           /* Default table to use */
 	int connected;         /* 1 if database is connected */
-	unsigned char tail[1]; /* Variable length tail
+	unsigned long tail[1]; /* Variable length tail
 				* database module specific */    
 } db_con_t;