Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #605 from dteirney/libcmyth

libcmyth fix for negative program length due to overflow during cast
  • Loading branch information...
commit d230ebdcdf9b0472caf9abed9d8cf74ab8d038ed 2 parents fb89730 + e8a7c63
@dteirney dteirney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cmyth/libcmyth/socket.c
View
2  lib/cmyth/libcmyth/socket.c
@@ -998,7 +998,7 @@ cmyth_rcv_int64(cmyth_conn_t conn, int *err, long long *buf, int count)
/*
* Got a result, return it.
*/
- *buf = (long)(sign * val);
+ *buf = (long long)(sign * val);
return consumed;
}
Please sign in to comment.
Something went wrong with that request. Please try again.