allow compilation under 32 bit
This commit is contained in:
		
							parent
							
								
									992c1dd675
								
							
						
					
					
						commit
						0bf154f87a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -367,7 +367,7 @@ fn processRequest(allocator: std.mem.Allocator, server: *std.http.Server) !void | |||
|     var response_bytes: []const u8 = errbuf[0..]; | ||||
| 
 | ||||
|     if (res.request.content_length) |l| | ||||
|         server_request_aka_lambda_response = try res.reader().readAllAlloc(allocator, @as(usize, l)); | ||||
|         server_request_aka_lambda_response = try res.reader().readAllAlloc(allocator, @as(usize, @intCast(l))); | ||||
| 
 | ||||
|     log.debug( | ||||
|         "tid {d} (server): {d} bytes read from request", | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue