Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / gosmore / pointer_int_comparison.patch
blob4a715b6d8591323f0dcc690a26b87b62ca47071d
1 --- blah_/jni/gosmore.cpp 1970-01-01 01:00:01.000000000 +0100
2 +++ /dev/stdin 2018-03-18 00:21:08.474217132 +0100
3 @@ -1273,7 +1273,7 @@
4 if (deg[i] < -180 || deg[i] > 180) break;
5 if (i == 0 && (strncasecmp (t, "lat", 3) == 0 ||
6 strncasecmp (t, "lon", 3) == 0)) { // lat=-25.7 lon=28.2
7 - for (t += 3; t != '\0' && !isalnum (*t); t++) {}
8 + for (t += 3; *t != '\0' && !isalnum (*t); t++) {}
10 if (i == 1) { // Success !
11 //printf ("%lf %lf %u\n", deg[lonFirst ? 1 : 0], deg[lonFirst ? 0 : 1],