Changeset 1179 for trunk


Ignore:
Timestamp:
Oct 8, 2008 7:33:01 AM (16 years ago)
Author:
gah
Message:

64-bit fixes for pymolproxy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/pymolproxy/pymolproxy.c

    r1176 r1179  
    7070static int debug = FALSE;
    7171
    72 
    7372typedef struct {
    7473    char *data;
     
    422421
    423422static int
    424 getline(int sock, char *buffer, int size, long timeout)
     423getline(int sock, char *buffer, int size, int timeout)
    425424{
    426425    int pos = 0, status, timeo;
     
    480479    trace("want to match (%s)\n", string);
    481480    while(1) {
    482         if (getline(sock,buffer,length,IO_TIMEOUT) == 0) {
     481        if (getline(sock,buffer,length, IO_TIMEOUT) == 0) {
    483482            pymol->error = 2;
    484483            pymol->status = TCL_ERROR;
     
    10251024        char fileName[200];
    10261025        FILE *f;
    1027         size_t nBytes, nWritten;
     1026        ssize_t nBytes, nWritten;
    10281027
    10291028        sprintf(fileName, "/tmp/pymol%d.pdb", getpid());
Note: See TracChangeset for help on using the changeset viewer.