diff src/c/request.c @ 2017:bcda3ae88677

Align to sizeof(void *) instead of fixed 4
author Adam Chlipala <adam@chlipala.net>
date Wed, 28 May 2014 11:53:19 -0400
parents c93fbd139732
children 6add6d00ef5f
line wrap: on
line diff
--- a/src/c/request.c	Sun May 25 09:21:56 2014 -0400
+++ b/src/c/request.c	Wed May 28 11:53:19 2014 -0400
@@ -212,10 +212,10 @@
 }
 
 
-typedef struct uw_rc {
+struct uw_rc {
   size_t path_copy_size, queryString_size;
   char *path_copy, *queryString;
-} *uw_request_context;
+};
 
 uw_request_context uw_new_request_context(void) {
   uw_request_context r = malloc(sizeof(struct uw_rc));