warning: assignment makes pointer from integer without a cast [enabled by default]
when im trying to compile this code with gcc version 4.6.3 on linux with -Wall flag im getting these two warnings 

1) warning: assignment makes pointer from integer without a cast [enabled by default]
it points to `"cmd[1]=cmd2send;"`
2) warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable].
it points to the variable `"static unsigned char *cmd[65]"`

what makes these warning? 
 

      int CommandHandler(unsigned char cmd2send)
        {
            static unsigned char *cmd[65];
        
            // *make sure device is open*
            if(handle==NULL) // handle defined in transceiver.h
            {
                puts("CommandHandler::Cant handle command");
                // try to open device again
                if(OpenMyDev()!=0)
                return -1;
                // if no return then retry is fine
                puts("retry SUCCEEDED!, device is open");
            }
        
            // *send command to firmware*
            cmd[0]=0x0;
            cmd[1]=cmd2send;
            return 0;
        
        }
warning: assignment makes pointer from integer without a cast [enabled by default]
===

when im trying to compile this code with gcc version 4.6.3 on linux with -Wall flag im getting these two warnings 

1) warning: assignment makes pointer from integer without a cast [enabled by default]
it points to `"cmd[1]=cmd2send;"`
2) warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable].
it points to the variable `"static unsigned char *cmd[65]"`

what makes these warning? 
 

      int CommandHandler(unsigned char cmd2send)
        {
            static unsigned char *cmd[65];
        
            // *make sure device is open*
            if(handle==NULL) // handle defined in transceiver.h
            {
                puts("CommandHandler::Cant handle command");
                // try to open device again
                if(OpenMyDev()!=0)
                return -1;
                // if no return then retry is fine
                puts("retry SUCCEEDED!, device is open");
            }
        
            // *send command to firmware*
            cmd[0]=0x0;
            cmd[1]=cmd2send;
            return 0;
        
        }