From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:42]) by hurricane.the-brannons.com (Postfix) with ESMTPS id C888777AA6 for ; Fri, 27 Jan 2017 11:21:04 -0800 (PST) Received: from resomta-ch2-15v.sys.comcast.net ([69.252.207.111]) by resqmta-ch2-10v.sys.comcast.net with SMTP id XC5EcXmzqM9KYXC5mcx6EX; Fri, 27 Jan 2017 19:21:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1485544910; bh=/d5e2+abgJffsmVcOLi9gcXtADSiy0jzrrgIy5pXBVc=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=pF5Yv5Pn0eU54AR21n41Xxc1qhP8t2p+oYpjoj175hZVW+ICMFnWM1DPgrf5Apxku J5F6dp260m3Z41r7Y60792mtX9lut6fql8/9wy3r5voj9XOXUISpH4ERedbMKsCPCG 5gnC+W4ySWpERJ80Cy++wIhWcgA4CgIus7paSrYBxQ58A3dbR6epHQ3ZKoc4jX3gnp bX3p10czw0XReJ48YrpicsEKr4DtLrVrfVgE2mFPOM9ShJ3dg2Ng3MznRPlDi4AwKz VQu4F10JHr7FLr3D5f+mDn/JYAVb3S3z4fmaCnWRDQsMbGA5QemqJvU4jaKALsN3t9 0ZrJpuaBMXHRw== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-15v.sys.comcast.net with SMTP id XC5lcLz9jwcMxXC5lcmYP3; Fri, 27 Jan 2017 19:21:50 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: User-Agent: edbrowse/3.6.2+ Date: Fri, 27 Jan 2017 14:21:49 -0500 Message-ID: <20170027142149.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfGwb7E5K3E/Aq9OGpzZf0FUtL2avBR0cAmY4IISSPEmOoSdkEEDvgS9owdXo2UZS7SrO0IyFXzGTn/TRPsS3LAYulzEOKe8Voz/2XjgOxf4X/oKvifHC aQsuhG8WJoCWcaWrkxh4p0ZqlZftVPdr1RZajgejzVKxNR7V81WU9Adf Subject: [Edbrowse-dev] Windows MSVC140 build X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.23 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2017 19:21:05 -0000 > The two main ones are in jseng-moz.cpp... in the function > 1. Why is 'ssize_t rc;' used, instead of just 'int rc;'? Because the manual page for read() says it returns type size_t. Implicitly casting that into an int, as in int rc, is no trouble so make that change if you wish. We're not going to be reading more than 2 gig at a shot. > 2. Why is '(short unsigned int *)uc_run' used instead > of '(const jschar *)uc_run'? don't know - I went for the actual type, but that's platform specific, so go ahead and use jschar * instead, it works. Karl Dahlke