From: Bob F. <bfr...@si...> - 2006-04-24 18:57:13
|
On Mon, 24 Apr 2006, John Bowler wrote: > > I believe that this change at least is an API change: > >> #if !defined(INT_MAX) || (INT_MAX < 0x7fffffffL) >> typedef unsigned long png_uint_32; >> typedef long png_int_32; >> #else >> typedef unsigned int png_uint_32; >> typedef int png_int_32; >> #endif > > Because it changes the size of (sizeof) png_[u]int_32 on some > machines (any machine where (int) and (long) are not identical > and INT_MAX is less than 2^31-1). To me, "API change" means that a properly written application had to make source code changes in order to continue working properly. If the application is using png_uint_32/png_int_32 then this does not sound like an "API change" to me. Bob ====================================== Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |