[Tile-serving] [osm2pgsql] explicit type conversions to reduce MSVC warnings (#484)

alex85k notifications at github.com
Thu Oct 29 15:08:49 UTC 2015


> @@ -25,10 +25,10 @@ void escape(const std::string &src, std::string& dst);
>  
>  
>  inline void pgsql_CopyData(const char *context, PGconn *sql_conn, const char *sql) {
> -    pgsql_CopyData(context, sql_conn, sql, strlen(sql));
> +    pgsql_CopyData(context, sql_conn, sql, (int) strlen(sql));

We are not going to have 2Gb SQL, I hope.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/484/files#r43396898
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151029/4e4c1b85/attachment.html>


More information about the Tile-serving mailing list